Skip to content

Commit 4ae4ab7

Browse files
committed
[Conformance checking] Put associated type inference into its own file.
Factor associated type inference out into its own separate source file, so it's easier to maintain on its own.
1 parent 9b2c462 commit 4ae4ab7

File tree

5 files changed

+2121
-2025
lines changed

5 files changed

+2121
-2025
lines changed

lib/Sema/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ add_swift_library(swiftSema STATIC
4848
TypeCheckNameLookup.cpp
4949
TypeCheckPattern.cpp
5050
TypeCheckProtocol.cpp
51+
TypeCheckProtocolInference.cpp
5152
TypeCheckREPL.cpp
5253
TypeCheckRequest.cpp
5354
TypeCheckStmt.cpp

lib/Sema/DerivedConformances.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@
2222

2323
namespace swift {
2424
class Decl;
25+
class DeclRefExpr;
2526
class FuncDecl;
2627
class NominalTypeDecl;
28+
class PatternBindingDecl;
2729
class Type;
2830
class TypeChecker;
2931
class ValueDecl;
32+
class VarDecl;
3033

3134
namespace DerivedConformance {
3235

0 commit comments

Comments
 (0)