groue / GRMustache.swift

Flexible Mustache templates for Swift
http://mustache.github.com/
MIT License
601 stars 154 forks source link

Change Type enum names to `Type` to avoid collision errors on recent Swift #24

Closed bygri closed 8 years ago

bygri commented 8 years ago

To fix #23, I have gone through and added back-ticks to all enums named Type as per compiler suggestion:

note: backticks can escape this name if it is important to use

Just a quick fix to get it compiling.

groue commented 8 years ago

Hello @bygri, thanks for your pull request! I just think that backticking Type is only mandatory when declaring enums, not when using them. Can you confirm?

bygri commented 8 years ago

Quite right. New PR incoming.