mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
remove the ASTContext argument from Type::transform,
(various) FunctionType::get's, ArrayType::get, ArraySliceType::get, OptionalType::get, and a few other places. There is more to be done here, but this is all I plan to do for now. Swift SVN r11497
This commit is contained in:
@@ -943,7 +943,7 @@ public:
|
||||
if (IsDynamicLookup) {
|
||||
// Values of properties that were found on a DynamicLookup have
|
||||
// Optional<T> type.
|
||||
VarType = OptionalType::get(VarType, Ctx);
|
||||
VarType = OptionalType::get(VarType);
|
||||
}
|
||||
addTypeAnnotation(Builder, VarType);
|
||||
}
|
||||
@@ -1158,7 +1158,7 @@ public:
|
||||
if (IsDynamicLookup) {
|
||||
// Values of properties that were found on a DynamicLookup have
|
||||
// Optional<T> type.
|
||||
T = OptionalType::get(T, Ctx);
|
||||
T = OptionalType::get(T);
|
||||
}
|
||||
addTypeAnnotation(Builder, T);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user