aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/error_with_unicode.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/error_with_unicode.out')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/error_with_unicode.out56
1 files changed, 56 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/error_with_unicode.out b/v_windows/v/old/vlib/v/checker/tests/error_with_unicode.out
new file mode 100644
index 0000000..78ea832
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/error_with_unicode.out
@@ -0,0 +1,56 @@
+vlib/v/checker/tests/error_with_unicode.vv:5:17: error: cannot use `int literal` as `string` in argument 2 to `f1`
+ 3 |
+ 4 | fn main() {
+ 5 | f1('🐀🐈', 0)
+ | ^
+ 6 | f2(0, '🐟🐧')
+ 7 | mut n := 0
+vlib/v/checker/tests/error_with_unicode.vv:6:8: error: cannot use `string` as `int` in argument 2 to `f2`
+ 4 | fn main() {
+ 5 | f1('🐀🐈', 0)
+ 6 | f2(0, '🐟🐧')
+ | ~~~~~~
+ 7 | mut n := 0
+ 8 | n = '漢字'
+vlib/v/checker/tests/error_with_unicode.vv:8:6: error: cannot assign to `n`: expected `int`, not `string`
+ 6 | f2(0, '🐟🐧')
+ 7 | mut n := 0
+ 8 | n = '漢字'
+ | ~~~~~~
+ 9 | n = 'ひらがな'
+ 10 | n = '简体字'
+vlib/v/checker/tests/error_with_unicode.vv:9:6: error: cannot assign to `n`: expected `int`, not `string`
+ 7 | mut n := 0
+ 8 | n = '漢字'
+ 9 | n = 'ひらがな'
+ | ~~~~~~~~~~
+ 10 | n = '简体字'
+ 11 | n = '繁體字'
+vlib/v/checker/tests/error_with_unicode.vv:10:6: error: cannot assign to `n`: expected `int`, not `string`
+ 8 | n = '漢字'
+ 9 | n = 'ひらがな'
+ 10 | n = '简体字'
+ | ~~~~~~~~
+ 11 | n = '繁體字'
+ 12 | n = '한글'
+vlib/v/checker/tests/error_with_unicode.vv:11:6: error: cannot assign to `n`: expected `int`, not `string`
+ 9 | n = 'ひらがな'
+ 10 | n = '简体字'
+ 11 | n = '繁體字'
+ | ~~~~~~~~
+ 12 | n = '한글'
+ 13 | n = 'Кириллица'
+vlib/v/checker/tests/error_with_unicode.vv:12:6: error: cannot assign to `n`: expected `int`, not `string`
+ 10 | n = '简体字'
+ 11 | n = '繁體字'
+ 12 | n = '한글'
+ | ~~~~~~
+ 13 | n = 'Кириллица'
+ 14 | _ = n
+vlib/v/checker/tests/error_with_unicode.vv:13:6: error: cannot assign to `n`: expected `int`, not `string`
+ 11 | n = '繁體字'
+ 12 | n = '한글'
+ 13 | n = 'Кириллица'
+ | ~~~~~~~~~~~
+ 14 | _ = n
+ 15 | }