Fix issue #829 "Compiler crashes when declaring maps with procedure"

Inits `o->value` in `check_expr_base_internal()` so doesn't accidentally
  use last (the proc lit was being set to that of previous string)
Adds test to "tests/issues" and changes CI to use new "run" shells
This commit is contained in:
gitlost
2022-03-23 12:56:37 +00:00
parent 0446d9721b
commit 10c5825715
5 changed files with 72 additions and 3 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ jobs:
make
timeout-minutes: 10
- name: Odin issues tests
run: ./odin run tests/issues -collection:tests=tests
run: tests/issues/run.sh
timeout-minutes: 10
- name: Odin check examples/all for Linux i386
run: ./odin check examples/all -vet -strict-style -target:linux_i386
@@ -91,7 +91,7 @@ jobs:
make
timeout-minutes: 10
- name: Odin issues tests
run: ./odin run tests/issues -collection:tests=tests
run: tests/issues/run.sh
timeout-minutes: 10
- name: Odin check examples/all for Darwin arm64
run: ./odin check examples/all -vet -strict-style -target:darwin_arm64
@@ -163,7 +163,7 @@ jobs:
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
odin run tests\issues -collection:tests=tests
call tests\issues\run.bat
timeout-minutes: 10
- name: Odin check examples/all for Windows 32bits
shell: cmd