full-moon icon indicating copy to clipboard operation
full-moon copied to clipboard

`TypeDeclaration::new()` panics

Open JohnnyMorganz opened this issue 3 years ago • 0 comments

Calling TypeDeclaration::new() will always panic, because it tries to call TokenReference::symbol("type ") which is not a symbol. https://github.com/Kampfkarren/full-moon/blob/main/full-moon/src/ast/types.rs#L350

Whoops

JohnnyMorganz avatar Jul 03 '22 12:07 JohnnyMorganz