diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b3cdd4294..ce573b12b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,10 @@ jobs: run: ./v test v - name: Test v->js run: ./v -o hi.js examples/hello_v_js.v && node hi.js - #- name: Test vid - #run: | - #git clone --depth 1 https://github.com/vlang/vid.git - #cd vid && ../v -o vid . + - name: Test vid + run: | + git clone --depth 1 https://github.com/vlang/vid.git + cd vid && ../v -o vid . build-ubuntu: runs-on: ubuntu-18.04 diff --git a/vlib/compiler/fn.v b/vlib/compiler/fn.v index 1ecf6a8d22..6ee84c2ef1 100644 --- a/vlib/compiler/fn.v +++ b/vlib/compiler/fn.v @@ -277,8 +277,8 @@ fn (p mut Parser) fn_decl() { // C function header def? (fn C.NSMakeRect(int,int,int,int)) is_c := f.name == 'C' && p.tok == .dot // Just fn signature? only builtin.v + default build mode - //if p.pref.is_verbose { // p.pref.build_mode == .build_module { - //println('\n\nfn_decl() name=$f.name receiver_typ=$receiver_typ nogen=$p.cgen.nogen') + //if p.pref.is_verbose { + //println('\n\nfn_decl() name=$f.name receiver_typ=$receiver_typ nogen=$p.cgen.nogen') //} if is_c { p.check(.dot)