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

compiler: fix module alias resolution

This commit is contained in:
joe-conigliaro
2020-01-24 07:07:53 +11:00
committed by Alexander Medvednikov
parent 0a93d3b714
commit 20f6cdc53a
3 changed files with 22 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
module main
import gg2 // as gg
import gg2 as gg
import gx
const (
@@ -10,12 +10,12 @@ const (
struct App {
mut:
gg &gg2.GG
gg &gg.GG
}
fn main() {
mut app := &App{}
app.gg = gg2.new_context({
app.gg = gg.new_context({
bg_color: gx.white
width: win_width
height: win_height