diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-12-15 18:21:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-12-15 18:21:59 -0700 |
| commit | 28c5a8f2cab193858717594fc91df3369980e18c (patch) | |
| tree | 07b834180f508e1f18e881509e6aed792d55ddf8 /test/run_tests.cpp | |
| parent | 431d8f946fc1340475bd6d849d74a741fd119251 (diff) | |
| download | zig-28c5a8f2cab193858717594fc91df3369980e18c.tar.gz zig-28c5a8f2cab193858717594fc91df3369980e18c.zip | |
analyze: clean up type checking
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 66df737845..b13ad98999 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -796,7 +796,7 @@ fn f() { const y = if true { 1 as i32 }; } )SOURCE", 2, ".tmp_source.zig:3:21: error: expected type 'i32', got 'void'", - ".tmp_source.zig:4:15: error: ambiguous expression type: 'i32' vs 'void'"); + ".tmp_source.zig:4:15: error: incompatible types: 'i32' and 'void'"); } static void print_compiler_invocation(TestCase *test_case) { |
