-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
error messagesBetter, more actionable error messagesBetter, more actionable error messagesparserLanguage parsing and surface syntaxLanguage parsing and surface syntax
Description
in my opinion this would be better as a syntax error than an internal error
julia> bar(t::Tuple{X...}) where X = t
ERROR: MethodError: no method matching iterate(::TypeVar)
The function `iterate` exists, but no method is defined for this combination of argument types.
Closest candidates are:
iterate(::LazyString)
@ Base strings/lazy.jl:94
iterate(::LazyString, ::Integer)
@ Base strings/lazy.jl:95
iterate(::CompositeException, Any...)
@ Base task.jl:55
Metadata
Metadata
Assignees
Labels
error messagesBetter, more actionable error messagesBetter, more actionable error messagesparserLanguage parsing and surface syntaxLanguage parsing and surface syntax