diff --git a/Upsilon/Binder/Binder.cs b/Upsilon/Binder/Binder.cs index 8b69057..d39a5ff 100644 --- a/Upsilon/Binder/Binder.cs +++ b/Upsilon/Binder/Binder.cs @@ -128,7 +128,7 @@ namespace Upsilon.Binder case SyntaxKind.FunctionExpression: return BindFunctionExpression((FunctionExpressionSyntax) e); case SyntaxKind.BadExpression: - break; + return new BoundLiteralExpression(new ScriptNull(), e.Span); case SyntaxKind.ScriptUnit: break; default: