Adds warning on var/static
when it's declared with a proc in a proc
#405
Labels
var/static
when it's declared with a proc in a proc
#405
DMM should give us a warn when a static variable takes a value from a proc on var declaration
This has a high chance to cause an issue, because
hello
inglob_foo()
will be initialized in pre-runtime, while whenanother_foo()
proc isn't ready to return a value properly, for example, it's a subsystem proc, the variable may not take a desired value.This should be:
The text was updated successfully, but these errors were encountered: