mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
lots of Windows fixes and cross compilation for Windows
This commit is contained in:
@@ -810,7 +810,8 @@ fn (p mut Parser) get_type() string {
|
||||
// "typ" not found? try "pkg__typ"
|
||||
if t.name == '' && !p.builtin_pkg {
|
||||
// && !p.first_run() {
|
||||
if !typ.contains('array_') && p.pkg != 'main' && !typ.contains('__') {
|
||||
if !typ.contains('array_') && p.pkg != 'main' && !typ.contains('__') &&
|
||||
!typ.starts_with('[') {
|
||||
typ = p.prepend_pkg(typ)
|
||||
}
|
||||
t = p.table.find_type(typ)
|
||||
|
Reference in New Issue
Block a user