1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-04 16:29:52 +00:00

Extra message if a constant is not yet constant

This commit is contained in:
Karol Stasiak 2019-07-19 15:47:36 +02:00
parent 07a29643a8
commit 49d176fb3c

View File

@ -36,6 +36,7 @@ class Environment(val parent: Option[Environment], val prefix: String, val cpuFa
def errorConstant(msg: String, position: Option[Position] = None): Constant = {
log.error(msg, position)
log.info("Did you forget to import an appropriate module?")
Constant.Zero
}