If I have a Base class in a different module, and I do not import that module, but I do inherit from it in a Sub class, no error message is triggered, instead, variables and functions are found to be missing (since the Sub class does not declare them).

// file : Base.app
entity Base {
a :: Int
}

// file : Sub.app
entity Sub : Base {
extend function Sub() {
a := 5;
}
}

The above gives an error message about a not being declared, rather than about Base not being declared.

Submitted by Sverre Rabbelier on 20 March 2010 at 13:13

Log in to post comments