Skip to content

Commit 3aab2ac

Browse files
committed
Add deprecation tests for %bs.*
1 parent b37379e commit 3aab2ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

syntax_test.res

+2
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,8 @@ let getAudience = (~excited) => excited ? "world!" : "world"
436436

437437
myList |> map
438438
// ^^ invalid.deprecated
439+
let a = %bs.raw("1")
440+
// ^^^ meta.annotation invalid.deprecated
439441
@bs.send.pipe external a: b => c = ""
440442
// ^^^^^^^^^^^^ meta.annotation invalid.deprecated
441443
@bs.module external a: b = ""

0 commit comments

Comments
 (0)