update runtime tok look for main in defult namespace
This commit is contained in:
@@ -144,7 +144,7 @@ public sealed class Binder
|
||||
|
||||
var body = BindBlock(node.Body);
|
||||
|
||||
return new BoundLocalFunc(node.Tokens, node.Namespace, node.Name, parameters, body, node.ReturnType, node.Exported);
|
||||
return new BoundLocalFunc(node.Tokens, node.Namespace, node.Name, parameters, body, node.ReturnType);
|
||||
}
|
||||
|
||||
private BoundBlock BindBlock(BlockSyntax node)
|
||||
|
||||
Reference in New Issue
Block a user