ceylon/ceylon-ide-eclipse — Issue #148: Errors in IDE but not compiler
Author: FroMage
Created: 2012-01-11 14:19:46+00:00
State: open

The following produces errors in the IDE but not the compiler, for some reason:

```java
abstract class ClassAttributeGetterSetter(){
String f {
return "";
}
assign f {
}
shared String f2 {
return "";
}
assign f2 {
}
shared default String f3 {
return "";
}
shared default String f4 {
return "";
}
assign f4 {
}
shared default String f5 = "";
}
class SubClassAttributeGetterSetter() extends ClassAttributeGetterSetter() {
shared actual String f3 {
return "";
}
assign f3 {
}
shared actual String f4 {
return "";
}
assign f4 {
}
shared actual String f5 {
return "";
}
assign f5 {
}
}
```

I get errors on SubClassAttributeGetterSetter's assign decls for f3, f4, f5:

> Multiple messages at this line.
>	-non-actual member refines an inherited member
>	-member type must be assignable to refined member type: Void is not assignable to String