1
0
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:
Alexander Medvednikov
2019-10-30 15:04:25 +03:00
parent 9abbfa7862
commit 96f7620628
7 changed files with 36 additions and 28 deletions

View File

@ -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')