mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
lots of Windows fixes and cross compilation for Windows
This commit is contained in:
parent
e71213ba4f
commit
99a9a6572a
6 changed files with 132 additions and 156 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue