eclipse-archived / ceylon.formatter

A formatter for the Ceylon programming language, written in Ceylon.
Apache License 2.0
14 stars 11 forks source link

formattingFile: Incorrect handling of optional types #5

Closed lucaswerkmeister closed 10 years ago

lucaswerkmeister commented 10 years ago

(This issue only affects the generated parser that's currently in branch formattingFile-genParse.)

When the type of a FormattingOption is optional, the name of the parse-function includes the ?.

Also, the exists check is unwanted in this case.