AFAIK, if one would extend Swift beyond its "official" specification, it could be done using #-directives and @-attributes, like Swift playgrounds use #imageLiteral(...) and friends. It's somewhat equivalent to pragmas of C++. On the other hand, things that are not understood by target compiler, but are features of an IDE, are done using comments. Fair enough?
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
