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
The text was updated successfully, but these errors were encountered:
FredTreg
changed the title
[BUG] Assert<> with a member which can a Type or null does not generate the correct code (fails if null)
[BUG] Assert<> with a object member which can a be Type or null does not generate the correct code (fails if null)
Jul 30, 2023
Describe the bug
Check failing playground and hit run. Any type having a member such as:
will incorrectly fail assertion if
MySubType
is an object type and member value isnull
Please also check the working playground: when using
string
instead ofMySubType
, assert code is correctly generated.Playground link
failing playground
working playground
Expected behavior
Assertion code is correct
Additional context
0.3.2
The text was updated successfully, but these errors were encountered: