1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: delete dead code

This commit is contained in:
hazohelet 2019-10-03 13:06:40 +09:00 committed by Alexander Medvednikov
parent 745413331b
commit ac7824b669

View File

@ -1042,9 +1042,6 @@ fn (p mut Parser) get_type() string {
typ += '__$p.lit' typ += '__$p.lit'
} }
mut t := p.table.find_type(typ) mut t := p.table.find_type(typ)
if typ == 'V' {
//println('QQ V res=$t.name')
}
// "typ" not found? try "mod__typ" // "typ" not found? try "mod__typ"
if t.name == '' && !p.builtin_mod { if t.name == '' && !p.builtin_mod {
// && !p.first_pass() { // && !p.first_pass() {