Skip to content

Commit 0242116

Browse files
committed
Reactivate unused attribute check for @int
1 parent 6ec02b1 commit 0242116

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
- Fix unhandled cases for exotic idents (allow to use exotic PascalCased identifiers for types). https://github.com/rescript-lang/rescript-compiler/pull/6777
3131
- PPX v4: mark props type in externals as `@live` to avoid dead code warnings for prop fields in the editor tooling. https://github.com/rescript-lang/rescript-compiler/pull/6796
3232
- Fix unused attribute check for `@as`. https://github.com/rescript-lang/rescript-compiler/pull/6795
33+
- Reactivate unused attribute check for `@int`. https://github.com/rescript-lang/rescript-compiler/pull/6802
3334

3435
#### :house: Internal
3536

jscomp/frontend/bs_ast_invariant.ml

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@
2828
*)
2929
let is_bs_attribute txt =
3030
match txt with
31-
(* TODO #6636: "int" *)
32-
| "as" | "bs" | "config" | "ignore" | "optional" | "string" | "uncurry"
33-
| "unwrap" ->
31+
| "as" | "bs" | "config" | "ignore" | "int" | "optional" | "string"
32+
| "uncurry" | "unwrap" ->
3433
true
3534
| _ -> false
3635

0 commit comments

Comments
 (0)