Confusables replacement fix-its not working?

There is an interesting parse test in swift/confusables.swift at main · apple/swift · GitHub, but I can't get the mentioned fix-its to show up with the latest version of Swift. Is it intended?

The following example contains the GREEK QUESTION MARK instead of a semicolon:

func f() {
  print("A"); print("B")
  // error: Cannot find ';' in scope
  // error: Consecutive statements on a line must be separated by ';'
  // fix-it: Insert ';'
}
Terms of Service

Privacy Policy

Cookie Policy