1
0
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:
Vincenzo Palazzo
2022-02-11 14:03:14 +01:00
committed by GitHub
parent 654bc49d3c
commit 61024d4b75
2 changed files with 59 additions and 10 deletions

View 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, ]]