This commit is contained in:
kbkpbot 2025-08-29 15:59:59 +08:00
parent 2b1978ab38
commit 58c38b5c82
4 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,3 @@
vlib/v/parser/tests/module_import_same_symbol2_err.vv:1:20: error: cannot register symbol `max`, it was already imported
1 | import math { max, max }
| ~~~

View file

@ -0,0 +1 @@
import math { max, max }

View file

@ -0,0 +1,4 @@
vlib/v/parser/tests/module_import_same_symbol_err.vv:2:17: error: cannot register symbol `max`, it was already imported
1 | import math { max }
2 | import arrays { max }
| ~~~

View file

@ -0,0 +1,2 @@
import math { max }
import arrays { max }