File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 1.2.4
2+
3+ * Fix overly-specific cast.
4+
15## 1.2.3
26
37* Require ` analyzer: '>=4.6.0 <6.0.0' `
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ class _DartObjectConstant extends ConstantReader {
271271 ConstantReader read (String field) {
272272 final reader = peek (field);
273273 if (reader == null ) {
274- assertHasField (objectValue.type? .element2 as ClassElement , field);
274+ assertHasField (objectValue.type! .element2 as InterfaceElement , field);
275275 return const _NullConstant ();
276276 }
277277 return reader;
Original file line number Diff line number Diff line change 11name : source_gen
2- version : 1.2.3
2+ version : 1.2.4
33description : >-
44 Source code generation builders and utilities for the Dart build system
55repository : https://github.com/dart-lang/source_gen
You can’t perform that action at this time.
0 commit comments