Lax compiler causes problem with Result[]
object encapsulating base of inherited object
#1796
Labels
Result[]
object encapsulating base of inherited object
#1796
The following program compiles and runs ok.
The problem is that the
Result[]
clause does not work properly when encapsulating the base objectAObj
while given some inherited objectBObj
. But the compiler accepts that construction as valid.The text was updated successfully, but these errors were encountered: