Skip to content

Commit a427c05

Browse files
committed
Appease Windowz
Something about including the constraint system in this file made Windows upset because full definitions. I'm trying again with a forward-declaration of the enum class inside of a `using`.
1 parent 943812c commit a427c05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/swift/Sema/IDETypeChecking.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include "swift/AST/Identifier.h"
2323
#include "swift/Basic/SourceLoc.h"
24-
#include "swift/Sema/ConstraintSystem.h"
24+
#include "swift/Basic/OptionSet.h"
2525
#include <memory>
2626
#include <tuple>
2727

@@ -51,6 +51,8 @@ namespace swift {
5151
class ConstraintSystem;
5252
class Solution;
5353
class SolutionApplicationTarget;
54+
enum class ConstraintSystemFlags;
55+
using ConstraintSystemOptions = OptionSet<ConstraintSystemFlags>;
5456
}
5557

5658
/// Typecheck binding initializer at \p bindingIndex.

0 commit comments

Comments
 (0)