swiftlang / swift-experimental-string-processing

An early experimental general-purpose pattern matching engine for Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement parser warnings

hamishknight opened this issue · comments

We should start emitting warnings for at least these cases:

  • Unnecessary escaping (in e.g extended literals)
  • Cases where - is treated as literal in a custom character class
  • When ] is treated as literal when it is the first member of a custom character class
  • Certain non-canonical syntax?