|
@@ -7,7 +7,9 @@ open Typecore
|
|
|
|
|
|
let rec verify_ast ctx e =
|
|
let rec verify_ast ctx e =
|
|
let not_null e e1 = match e1.eexpr with
|
|
let not_null e e1 = match e1.eexpr with
|
|
- | TConst TNull -> display_error ctx ("Invalid null expression: " ^ (s_expr_pretty "" (s_type (print_context())) e)) e.epos
|
|
|
|
|
|
+ | TConst TNull ->
|
|
|
|
+ (* TODO: https://github.com/HaxeFoundation/haxe/issues/4072 *)
|
|
|
|
+ (* display_error ctx ("Invalid null expression: " ^ (s_expr_pretty "" (s_type (print_context())) e)) e.epos *)
|
|
| _ -> ()
|
|
| _ -> ()
|
|
in
|
|
in
|
|
let rec loop e = match e.eexpr with
|
|
let rec loop e = match e.eexpr with
|