v2 / vlib / v / parser / tests / redeclaration_of_imported_fn.out
7 lines · 7 sloc · 207 bytes · 9b84faad6f6cbab8e34bba51799c1522737cddc4
Raw
1vlib/v/parser/tests/redeclaration_of_imported_fn.vv:3:4: error: cannot redefine imported function `input`
2 1 | import os { input }
3 2 |
4 3 | fn input() {}
5 | ~~~~~
6 4 |
7 5 | input()
8