Do not attempt to handle aliasing of procs in variable assignments

Please see the comment in the diff to explain the rationale of this
change.

Closes #4636
This commit is contained in:
Ayaz Hafiz 2022-12-01 15:20:15 -06:00
parent 2dfe0276e4
commit 68e364d897
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
10 changed files with 119 additions and 31 deletions

View file

@ -2049,3 +2049,20 @@ fn crash() {
"#
)
}
#[mono_test]
fn function_pointer_lambda_set() {
indoc!(
r#"
app "test" provides [main] to "./platform"
number = \{} -> 1u64
parse = \parser -> parser {}
main =
parser = number
parse parser
"#
)
}