swift
bc0a18f1 - [Type Checker] Only resolveOverriddenDecl() for decls with ‘override’.

Commit
7 years ago
[Type Checker] Only resolveOverriddenDecl() for decls with ‘override’. resolveOverriddenDecl() is meant to be used to provide access to the overridden declarations, e.g., from another source file. Only resolve when the declaration has an explicit ‘override’ modifier or is an initializer (for which there are cases where ‘override’ is not required). This does not yet reduce override checking across source files, because checkOverrides() is still called during validateDeclForNameLookup(), and we’re still doing too much work to compute overrides.
Author
Parents
Loading