fix removeTypeAnnotations
This commit is contained in:
@@ -336,7 +336,7 @@ class Helpers {
|
|||||||
|
|
||||||
public static function removeTypeAnnotations(exp:ReaderExp):ReaderExp {
|
public static function removeTypeAnnotations(exp:ReaderExp):ReaderExp {
|
||||||
var def = switch (exp.def) {
|
var def = switch (exp.def) {
|
||||||
case Symbol(_) | StrExp(_) | RawHaxe(_) | Quasiquote(_):
|
case Symbol(_) | StrExp(_) | RawHaxe(_) | RawHaxeBlock(_) | Quasiquote(_):
|
||||||
exp.def;
|
exp.def;
|
||||||
case CallExp(func, callArgs):
|
case CallExp(func, callArgs):
|
||||||
CallExp(removeTypeAnnotations(func), callArgs.map(removeTypeAnnotations));
|
CallExp(removeTypeAnnotations(func), callArgs.map(removeTypeAnnotations));
|
||||||
|
Reference in New Issue
Block a user