File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ class TypeParserEnvironment {
217217 /* TreeNode | StructuralParameter */ Object lookupDeclaration (String name) {
218218 Object ? result = _declarations[name];
219219 if (result == null && _parent != null ) {
220- return _parent! .lookupDeclaration (name);
220+ return _parent.lookupDeclaration (name);
221221 }
222222 if (result == null ) throw "Not found: $name " ;
223223 return result;
@@ -266,7 +266,7 @@ class TypeParserEnvironment {
266266 /// Use this in subclasses to add support for additional predefined types.
267267 DartType ? getPredefinedNamedType (String name) {
268268 if (_parent != null ) {
269- return _parent! .getPredefinedNamedType (name);
269+ return _parent.getPredefinedNamedType (name);
270270 }
271271 return null ;
272272 }
Original file line number Diff line number Diff line change @@ -953,7 +953,7 @@ class StaticTypeContextImpl implements StaticTypeContext {
953953 @override
954954 DartType getExpressionType (Expression node) {
955955 if (_cache != null ) {
956- return _cache! .getExpressionType (node, this );
956+ return _cache.getExpressionType (node, this );
957957 } else {
958958 return node.getStaticTypeInternal (this );
959959 }
@@ -962,7 +962,7 @@ class StaticTypeContextImpl implements StaticTypeContext {
962962 @override
963963 DartType getForInIteratorType (ForInStatement node) {
964964 if (_cache != null ) {
965- return _cache! .getForInIteratorType (node, this );
965+ return _cache.getForInIteratorType (node, this );
966966 } else {
967967 return node.getIteratorTypeInternal (this );
968968 }
@@ -971,7 +971,7 @@ class StaticTypeContextImpl implements StaticTypeContext {
971971 @override
972972 DartType getForInElementType (ForInStatement node) {
973973 if (_cache != null ) {
974- return _cache! .getForInElementType (node, this );
974+ return _cache.getForInElementType (node, this );
975975 } else {
976976 return node.getElementTypeInternal (this );
977977 }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: kernel
66publish_to : none
77
88environment :
9- sdk : ^3.0 .0
9+ sdk : ^3.6 .0
1010
1111# Use 'any' constraints here; we get our versions from the DEPS file.
1212dependencies :
You can’t perform that action at this time.
0 commit comments