attribute bug?
goofwin
artem.3a at gmail.com
Fri Nov 9 09:57:25 PST 2012
Hello.
I have code like this:
class MyClass
{
package abstract {
void foo();
void bar();
...
}
}
I have error after compilation:
Error: function ...foo non-virtual functions cannot be abstract
Code is compiling successed if change it like this:
class MyClass
{
public abstract {
void foo();
void bar();
...
}
}
Is it bug or don't i know something about it?
PS: Sorry for my bad English.
PSPS: dmd v 2.060
More information about the Digitalmars-d-learn
mailing list