We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9049b39 commit 55071e6Copy full SHA for 55071e6
ppx/test/record-props-error.t/run.t
@@ -1,8 +1,8 @@
1
Since we generate invalid syntax for the argument of the make fn `(Props : <>)`
2
We need to output ML syntax here, otherwise refmt could not parse it.
3
$ ../ppx.sh --output ml input.re
4
- File "output.ml", line 4, characters 27-35:
5
- 4 | [@@react.component { no_props = string }]
6
- ^^^^^^^^
+ File "output.ml", line 5, characters 68-76:
+ 5 | no_props
+ ^^^^^^^^
7
Error: [@react.component] only accepts 'props' as a field, given: no_props
8
[1]
0 commit comments