mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Introduce isDecl and getDeclType
fix enum logic issue fix tests guard against null types
This commit is contained in:
@@ -91,7 +91,7 @@ deriveBridgedNSError_enum_nsErrorDomain(
|
||||
// }
|
||||
// }
|
||||
|
||||
auto stringTy = derived.Context.getStringDecl()->getDeclaredInterfaceType();
|
||||
auto stringTy = derived.Context.getStringType();
|
||||
|
||||
// Define the property.
|
||||
VarDecl *propDecl;
|
||||
|
||||
Reference in New Issue
Block a user