> On May 28, 2016, at 8:26 PM, Jon Shier via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
>       I appreciate the sentiment, but I think we should reserve warnings for 
> actual compiler diagnostics.

+1.  The IDE should just pick up "// FIXME: “ comments and summarize them as 
issues.  Xcode already shows them in its jump bar.

That said, I can see a use for #error, as Charlie shows downthread:

#if os(OSX)
        /// ...
#if os(Linux)
        /// ...
#else
        #error("This OS isn't supported yet.").
#endif

-Chris
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to