ceylon/ceylon-spec — Issue #60: Cannot put @error on vararg elements in a named constructor call
Author: emmanuelbernard
Created: 2011-11-22 13:03:36+00:00
State: open

This parses

```
Module module {
name = 'com.redhat.sample.multisource';
version = '0.2';
doc = "Test multi source file compilation";
license = 'http://www.gnu.org/licenses/lgpl.html';
Import {
name = 'ceylon.language';
version = '0.1';
export = true;
},
Import {
name = 'non.existent.module';
version = '1.0';
}
}
```

But not the following (note `@error` next to `Import`)

```
Module module {
name = 'com.redhat.sample.multisource';
version = '0.2';
doc = "Test multi source file compilation";
license = 'http://www.gnu.org/licenses/lgpl.html';
Import {
name = 'ceylon.language';
version = '0.1';
export = true;
},
@error Import {
name = 'non.existent.module';
version = '1.0';
}
}
```

The rational is to put the dependency error report on the `Import` node.