diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc index 5d8b423290..5f07300b01 100644 --- a/src/compiler/typer.cc +++ b/src/compiler/typer.cc @@ -2365,7 +2365,7 @@ Type* Typer::Visitor::TypeConstant(Handle value) { switch (arity) { case SharedFunctionInfo::kDontAdaptArgumentsSentinel: // Some smart optimization at work... &%$!&@+$! - return Type::Any(zone()); + break; case 0: return typer_->cache_.kAnyFunc0; case 1: