This reverts commit 816f2b734e23858b52c64394b7e4e9d27472208c.
@@ -1664,9 +1664,6 @@ and type_meta ?(mode=MGet) ctx m e1 with_type p =
| (EReturn e, p) -> type_return ~implicit:true ctx e with_type p
| _ -> e()
end
- | (Meta.Dollar s,_,p) ->
- display_error ctx.com (Printf.sprintf "Reification $%s is not allowed outside of `macro` expression" s) p;
- e()
in
ctx.meta <- old;
@@ -1,5 +0,0 @@
-class Main {
- static function main() {
- trace($i{"wtf"});
- }
-}
@@ -1,2 +0,0 @@
---main Main
---interp
@@ -1 +0,0 @@
-Main.hx:3: characters 9-11 : Reification $i is not allowed outside of `macro` expression