-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Type/NewFeatureextends languageExtends the language accepted by the compilerExtends the language accepted by the compiler
Description
Currently we don't support never type in the front end (ref). Once we do, we need to
- support functions whose return type is
never - check that expressions of type
neveronly occur in places where the language allows them - check that types equivalent to
neveronly occur where the language allows them - update reachability handling to deal with non-returning functions
Function's return type is the return type, if it returns normally. When we say function returns never it means function never returns normally, ie. it always either does not return or panics (example).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type/NewFeatureextends languageExtends the language accepted by the compilerExtends the language accepted by the compiler