> On Jul 17, 2017, at 10:01 AM, Nevin Brackett-Rozinsky via swift-users > <swift-users@swift.org> 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 gpar...@apple.com <mailto:gpar...@apple.com> Runtime Wrangler
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users