Explorar o código

do not lose the : of custom @: metadata

Simon Krajewski %!s(int64=12) %!d(string=hai) anos
pai
achega
0d56312e4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ast.ml

+ 1 - 1
ast.ml

@@ -309,7 +309,7 @@ module Meta = struct
 		| "unifyMinDynamic" -> UnifyMinDynamic
 		| "unreflective" -> Unreflective
 		| "unsafe" -> Unsafe
-		| s -> Custom s
+		| s -> Custom (":" ^ s)
 
 	let from_string s =
 		if s = "" then Custom "" else match s.[0] with