mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
instead of Enum.foo
require .foo
if it's enough + some UI fixes
This commit is contained in:
@ -204,7 +204,7 @@ pub fn (v mut V) compile() {
|
||||
}
|
||||
|
||||
// Main pass
|
||||
cgen.pass = Pass.main
|
||||
cgen.pass = .main
|
||||
if v.pref.is_debug {
|
||||
$if js {
|
||||
cgen.genln('const VDEBUG = 1;\n')
|
||||
|
Reference in New Issue
Block a user