mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
repl: support aliased module imports too (#13423)
This commit is contained in:
4
vlib/v/tests/repl/import_alias.repl
Normal file
4
vlib/v/tests/repl/import_alias.repl
Normal file
@@ -0,0 +1,4 @@
|
||||
import compress.zlib as z
|
||||
z.compress('hello world'.bytes())?
|
||||
===output===
|
||||
[x, 0x01, 0x01, `/v`, `/0`, 0xf4, 0xff, h, e, l, l, o, , w, o, r, l, d, 0x1a, `/v`, 0x04, ]]
|
||||
Reference in New Issue
Block a user