Änderungen

Summary

  1. must declare globals and constants before using them (commit: 03fa65a) (details)
Commit 03fa65a81cfdac047b92a75b205bb1a3c4dfe505 by peter.peq
must declare globals and constants before using them

just a warning for now to not annoy people too much, but will be error
in future versions.

Problem is, that init order may lead to strange results if people do not
do this.

See https://github.com/wurstscript/WurstStdlib2/issues/13 and
https://github.com/wurstscript/WurstScript/issues/574
(commit: 03fa65a)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/WurstValidator.java (diff)
The file was addedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/ValidateGlobalsUsage.java