Fixed every warning given during compilation. The warnings fixed were due to:
Several non-exhaustive case statements
Implicit type conversion
Non-variable type argument was unchecked in OberonEngine.scala, since it was eliminated by erasure
Use of deprecated /: operator
Use of deprecated ANTLRInputStream
Also, the object NullValue was modified so that it inherits from Value instead of Expression. This change should allow the interpreter environment to be an Environment[Value] instead of an Environment[Expression]. Every test still succeeded.
Fixed every warning given during compilation. The warnings fixed were due to:
/:
operatorANTLRInputStream
Also, the object
NullValue
was modified so that it inherits fromValue
instead ofExpression
. This change should allow the interpreter environment to be anEnvironment[Value]
instead of anEnvironment[Expression]
. Every test still succeeded.