Skip to content

Commit 3708c66

Browse files
committed
[New parser] Enable round-trip testing of the new parser in +Asserts builds
1 parent dfcbb83 commit 3708c66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Basic/LangOptions.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ using namespace swift;
3131

3232
LangOptions::LangOptions() {
3333
// Note: Introduce default-on language options here.
34+
#ifndef NDEBUG
35+
Features.insert(Feature::ParserRoundTrip);
36+
#endif
3437
}
3538

3639
struct SupportedConditionalValue {

0 commit comments

Comments
 (0)