[swift-evolution] #pragma

isidoro carlo ghezzi isidoro.ghezzi at icloud.com
Mon Sep 5 03:37:22 CDT 2016


I have this code:
```
let tuple = (
MARK: 1,
EXPLODE: true,
DO_SOMETHINGS_UNDEFINED: true
)
```

If I comment it, because I want to exclude that code to be compiled:

```
// let tuple = (
// MARK: 1,
// EXPLODE: true,
// DO_SOMETHINGS_UNDEFINED: true
// )
```

what will happen to the IDE?
Commenting that code, I didn't mean to give strange instructions to the IDE.

Isidoro.

On Sep 05, 2016, at 07:16 AM, Marinus van der Lugt <rien at starbase55.com> wrote:


I understand that maybe a compiler shouldn't lose time handling `#pragma options`, but giving semantics to source comment, I think it can be dangerous and misunderstood.

Could you elaborate what could be dangerous or misunderstood?

Rien.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160905/c4130bb0/attachment.html>


More information about the swift-evolution mailing list