Skip to content

Commit 7281fef

Browse files
authored
Merge pull request #21982 from akyrtzi/swift-ide-test-fully-qual-option
2 parents 513d825 + f28048d commit 7281fef

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/IDE/print_ast_typechecked.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ public class C {
1515
// CHECK1: {{^}} var InternalVar1: Int, InternalVar2: Int{{$}}
1616
// CHECK1-NOT: private
1717
// CHECK1: {{^}} var (InternalTuple1, InternalTuple2): (Int, Int){{$}}
18+
19+
// RUN: %target-swift-ide-test -fully-qualified-types -print-ast-typechecked -access-filter-internal -source-filename %s | %FileCheck %s -check-prefix=FULLY_QUAL
20+
// FULLY_QUAL: public var PublicVar: Swift.Int

tools/swift-ide-test/swift-ide-test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,6 +3195,7 @@ int main(int argc, char *argv[]) {
31953195
PrintOpts = PrintOptions::printDocInterface();
31963196
} else {
31973197
PrintOpts = PrintOptions::printEverything();
3198+
PrintOpts.FullyQualifiedTypes = options::FullyQualifiedTypes;
31983199
PrintOpts.FullyQualifiedTypesIfAmbiguous =
31993200
options::FullyQualifiedTypesIfAmbiguous;
32003201
PrintOpts.SynthesizeSugarOnTypes = options::SynthesizeSugarOnTypes;

0 commit comments

Comments
 (0)