File tree 1 file changed +7
-7
lines changed
libsolidity/experimental/ast
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -199,19 +199,19 @@ experimental::Type TypeEnvironment::resolve(Type _type) const
199
199
experimental::Type TypeEnvironment::resolveRecursive (Type _type) const
200
200
{
201
201
return std::visit (util::GenericVisitor{
202
- [&](TypeConstant const & _type ) -> Type {
202
+ [&](TypeConstant const & _typeConstant ) -> Type {
203
203
return TypeConstant{
204
- _type .constructor ,
205
- _type .arguments | ranges::views::transform ([&](Type const & _argType) {
204
+ _typeConstant .constructor ,
205
+ _typeConstant .arguments | ranges::views::transform ([&](Type const & _argType) {
206
206
return resolveRecursive (_argType);
207
207
}) | ranges::to<std::vector<Type>>
208
208
};
209
209
},
210
- [& ](TypeVariable const &) -> Type {
211
- return _type ;
210
+ [](TypeVariable const & _typeVar ) -> Type {
211
+ return _typeVar ;
212
212
},
213
- [& ](std::monostate) -> Type {
214
- return _type ;
213
+ [](std::monostate const & _nothing ) -> Type {
214
+ return _nothing ;
215
215
}
216
216
}, resolve (_type));
217
217
}
You can’t perform that action at this time.
0 commit comments