Conditional compilation for individual capabilities
We currently support @Config(Base) and @Config(Full). But, eventually, we will want to conditionally compile code for individual capabilities. See #882 for additional context.
This syntax could also be used to opt a Q# project in to new language features, like new UDT syntax. Similar to Rust's #! or Haskell's language extensions. See #543 for more context on that.
@sezna if you start working on this, could we sync to talk through some options to make sure we can use it in the multiple scenarios conditional compilation would be useful?
@cesarzc Yes certainly. We now have feature opt-in, for #543, but I haven't started any work on general conditional compilation. Let's work out a design for this together.
@swernli says we've done this, he will verify.
Fixed by https://github.com/microsoft/qsharp/pull/1393