- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.7k
Closed
Labels
error messagesBetter, more actionable error messagesBetter, more actionable error messagesgood first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia
Description
Currently as follows:
julia> abstract type Foo{S}; end
julia> struct Bar <: Foo; end
ERROR: invalid subtyping in definition of Bar
Stacktrace:
 [1] top-level scope at REPL[2]:1
Ideally it would at least tell you you forgot a type parameter, and maybe if it's extra nice show you the signature of the thing you're trying to subtype to show you what type parameters it has.
JeffBezanson, StefanKarpinski, samburgess, ShriprajwalK and kamalojasv181
Metadata
Metadata
Assignees
Labels
error messagesBetter, more actionable error messagesBetter, more actionable error messagesgood first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia