Mercerenies / tfactor

0 stars 0 forks source link

Parsing Bug on Functors with No Arguments #22

Closed Mercerenies closed 4 years ago

Mercerenies commented 4 years ago
mod F { }
end

The parser seems to want to parse } as the name of an argument to the functor, then gets confused when it sees end instead of :. We need to blacklist names like } from being the names of user-defined types.