> On Jul 17, 2017, at 10:01 AM, Nevin Brackett-Rozinsky via swift-users > <[email protected]> wrote: > > Could / should these types be ExpressibleByStringLiteral?
They should not. We are deliberately discouraging the string literal of the name. The string literal should be in only one place: the definition of the name constant. Everything else should use the constant. The compiler can provide autocompletion and typo detection of the constant. The string literal doesn't get that. -- Greg Parker [email protected] <mailto:[email protected]> Runtime Wrangler
_______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
