mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Create symbols for struct fields before record update
This commit is contained in:
parent
2347c3f667
commit
ad6900514b
4 changed files with 71 additions and 40 deletions
|
@ -3463,3 +3463,14 @@ fn issue_6196() {
|
|||
"#
|
||||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn issue_5513() {
|
||||
indoc!(
|
||||
r"
|
||||
f = \state ->
|
||||
{ state & a: state.b }
|
||||
f { a: 0, b: 0 }
|
||||
"
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue