Ziaw/npad — Issue #9: Code with quotation without module body not worked
Author: CodingUnit
Created: 2012-01-27 19:27:17+00:00
State: open

This code not worked properly in Npad:

```nemerle
using System.Console;

def expr = <[ 1 + 1 ]>;
def expr2 = <[ 1 + 1 ]>;
WriteLine($"expr type is $expr");
WriteLine($"expr2 type is $expr2");
```

error says:
```
snippet.n:2:14:2:19: error: you must specify `partial' modifier on all declarations of type `_N_MacroContexts'
snippet.n:2:14:2:19: error: first defined here
Nemerle.Core.AssertionException: assertion ``this.tenv == null'' failed in file ncc\hierarchy\TypeBuilder.n, line 884
в Nemerle.Compiler.TypeBuilder.make_tyenvs() в e:\OpenSource\Nemerle\Nemerle\ncc\hierarchy\TypeBuilder.n:строка 885
в Nemerle.Compiler.TypeBuilder.FixupDefinedClass() в e:\OpenSource\Nemerle\Nemerle\ncc
```