We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ac25f3 commit 6677c50Copy full SHA for 6677c50
ocaml/parsing/jane_syntax.ml
@@ -211,7 +211,7 @@ module Make_payload_protocol_of_stringable (Stringable : Stringable) :
211
let structure_item_of_none =
212
{ pstr_desc =
213
Pstr_attribute
214
- { attr_name = Location.mknoloc "none";
+ { attr_name = Location.mknoloc "jane.none";
215
attr_payload = PStr [];
216
attr_loc = Location.none
217
};
@@ -278,7 +278,8 @@ module Make_payload_protocol_of_stringable (Stringable : Stringable) :
278
| _ -> raise Unexpected
279
280
let is_none_structure_item = function
281
- | { pstr_desc = Pstr_attribute { attr_name = { txt = "none" } } } ->
+ | { pstr_desc = Pstr_attribute { attr_name = { txt = "jane.none" } } }
282
+ ->
283
true
284
| _ -> false
285
0 commit comments