[swift-evolution] [Pitch] #warning
Shawn Erickson
shawnce at gmail.com
Mon May 30 10:28:26 CDT 2016
On Sun, May 29, 2016 at 3:49 PM Leonardo Pessoa via swift-evolution <
swift-evolution at swift.org> wrote:
> Tools like SonarQube can raise a "warning" for comments started with
> "TODO:" or "FIXME:". Wouldn't it be more interesting if those could be
> presented as warnings instead of using #warning? And this could be an
> optional setting as commented would not influence compilation.
>
It seems wise to me to have the concept of todo, fixme, etc. formalized in
the language so that source kit, the swift compiler, and things like Xcode
would have a well defined thing to look for and extract information from.
I support this proposal and hope it can cover these typical use cases.
-Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160530/e5234a1d/attachment.html>
More information about the swift-evolution
mailing list