mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implement parsing, AST, and conformance checking for associated types
in protocols, e.g.,
protocol Range {
typealias Element
func getAndAdvance() -> Element
}
Swift SVN r1941
This commit is contained in:
@@ -39,6 +39,7 @@ bool Parser::checkFullyTyped(Type type) {
|
||||
case TypeKind::MetaType:
|
||||
case TypeKind::Module:
|
||||
case TypeKind::UnstructuredDependent:
|
||||
case TypeKind::Archetype:
|
||||
return false;
|
||||
|
||||
case TypeKind::Paren:
|
||||
|
||||
Reference in New Issue
Block a user