fixes #21043; fixes a named exception in the infixAs expression which generate an implicit uninitialized let statement (#21081)

* fixes #21043; fixes a named exception in the infixAs expression which generate an implicit uninitialized let statement

* Update compiler/sempass2.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
ringabout 2022-12-12 23:14:44 +08:00 • committed by GitHub
commit 4388636010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 1 deletions

View file

@ -1,4 +1,5 @@
discard """
matrix: "; --experimental:strictdefs"
targets: "c cpp"
"""