Given two functions and two classes, function 1 uses class 1 and function two uses class 2. Both classes are defined before any function.
e.g.: class class1{ somefunc(); };
class class2{ somefunc(); };
void function1(){ class1 c1; c1.somefunc(); }
void function2(){ class2 c2; c1.somefunc(); }
As you see here, function2 uses incorrectly the var name c1 which is defined in function1 only. Yet, syntax coloring shows both c1 uses as known, regular variables but somefunc() in function2 is red underlined and colored in black.
VAX should recognize the scope and color c1 as unknown variable instead.