Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract type Foo end
- struct Bar
- foo::Foo
- end
- struct FooBar <: Bar
- end
- ERROR: invalid subtyping in definition of FooBar
- Stacktrace:
- [1] macro expansion at ./REPL.jl:97 [inlined]
- [2] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement