Merge pull request #6881 from roc-lang/empty-open-union

fix openness inference for empty tag
This commit is contained in:
Anton-4 2024-07-09 16:46:54 +02:00 committed by GitHub
commit 0d9db5bf2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 14 deletions

View file

@ -3,5 +3,5 @@ app "test" provides [main] to "./platform"
walkHelp : {} -> [Continue {}, Break []]
main = when walkHelp {} is
# ^^^^^^^^^^^ [Break [], Continue {}]
# ^^^^^^^^^^^ [Break []w_a, Continue {}]
Continue {} -> {}