You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the convert pass renaming all variables in each builtin statement, any errors referring to these variables will not match what the source says. We should change the convert pass to ensure that they match
From #4788 (the error refers to B, which does not exist in the signature)
#[test]fnvariables_used_in_label_position_must_have_label_kind(){test_error_msg!{
config: AnalyzerConfig{
features: vec![Feature::LabelPolymorphism],
..AnalyzerConfig::default()},
src: r#" builtin abc: (record: { A with T: time }, ?timeColumn: T = "_time") => int "#,
expect: expect![[r#" error: variable B lacks the Label constraint ┌─ main:2:13 │ 2 │ builtin abc: (record: { A with T: time }, ?timeColumn: T = "_time") => int │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "#]],
}}
The text was updated successfully, but these errors were encountered:
Due to the
convert
pass renaming all variables in each builtin statement, any errors referring to these variables will not match what the source says. We should change theconvert
pass to ensure that they matchFrom #4788 (the error refers to
B
, which does not exist in the signature)The text was updated successfully, but these errors were encountered: