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
{{ message }}
Repository navigation
Internal assertion when using conditional operator with strings inside a task #1459
The code should either compile successfully or produce a normal diagnostic if the construct is unsupported. It should not terminate with an internal assertion.
Workaround
Replacing the conditional operator with if/else avoids the assertion:
Activity
caryr commentedon Aug 4, 2026
This is an issue with the ternary operator. It may be related to #1298
[test] Add regression for GH1459 string ternary in task
[test] Add regression for GH1459 string ternary in task
[test] Cover GH1459 string conditional inside a task
Add test for github #1459
caryr commentedon Sep 27, 2026
This is fixed along with #1298 in the repo HEAD.