[svn]
r6804: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n
VladD2
svnadmin at nemerle.org
Sat Oct 28 12:20:09 CEST 2006
Log:
Sync with compiler.
Author: VladD2
Date: Sat Oct 28 12:20:08 2006
New Revision: 6804
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-main.n Sat Oct 28 12:20:08 2006
@@ -166,18 +166,13 @@
private ParseMethodBody(method : MethodBuilder, lexer : LexerBase) : FunBody.Parsed
{
- if (method.ParsedFunction != null)
- {
def header = method.GetHeader();
def env = if (method.Env != null) method.Env else method.DeclaringType.GlobalEnv;
- def body = FunBody.Parsed(MainParser.ParseExpr(env, lexer, method.ParsedFunction.header));
+ def body = FunBody.Parsed(MainParser.ParseExpr(env, lexer, method.Ast.header));
header.body = body;
body
}
- else
- null
- }
public CompileMethod(
/*[NotNull]*/ method : MethodBuilder,
More information about the svn
mailing list