Skip to content

Conversation

bobzhang
Copy link
Member

No description provided.

- since it's going to be transformed anyway, the remained will be unused

in the future, for inline attributes, either it's transformed right away, or left for function

```
let f = 1 + 2
[@@inline]
```
The upstream compiler still emit a warning here: the "inline" attribute can not appear hear
the current status:
unused bs.inline for sure will be detected
unused inline depends on how smart the upstream compiler is
since we are going to drop those attribute, we need know if it is used or not
let f = 1 + 3
[@@bs.inline] will emit a warning
@bobzhang bobzhang merged commit 7a48974 into master Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant