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 b275b3d commit 67fb3a8Copy full SHA for 67fb3a8
typing/typedecl.ml
@@ -1327,7 +1327,7 @@ let transl_value_decl env loc valdecl =
1327
let prim = Primitive.parse_declaration (Some ty) valdecl.pval_attributes arity decl in
1328
if arity = 0 && prim.prim_name.[0] <> '%' &&
1329
not (List.exists (function
1330
- | ({Location.txt = "js.val";_},_) -> true
+ | ({Location.txt = "bs.val";_},_) -> true
1331
| _ -> false) valdecl.pval_attributes ) then
1332
raise(Error(valdecl.pval_type.ptyp_loc, Null_arity_external));
1333
if !Clflags.native_code
0 commit comments