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
Nicer error messages for Union and Optional types #2561
It says error: Some element of union has no attribute "count".
It would be nicer if it said something like Variable 's' may be None or something a bit special cased to the Union with None case.
Generalizing a bit, one could imagine better handling of Unions in general by specifying what is in the Union or even which types in the Unions are causing the issue.
Activity
Nurdok commentedon May 22, 2017
I'm looking at working on this.