Skip to content

No unused attribute warning for attributes without "bs." prefix #6636

Description

@cknitt

I came across this while cleaning up the bs. prefix handling.

@bs.string
let x = 42

gives

[E] Line 1, column 0:
Unused attribute: bs.string
This means such annotation is not annotated properly. 
for example, some annotations is only meaningful in externals 

whereas

@string
let x = 42

gives no error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleOld issues that went stale

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions