You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue when execute the build_runner command after I update to the flutter last version in stable channel.
The error displayed is the following
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1837:19: Error: Type 'SetLiteral' not found.
visitSetLiteral(SetLiteral node) {
^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/dart_formatter.dart:117:12: Error: The setter 'enableSetLiterals' isn't defined for the class 'analyzer.parser::Parser'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'enableSetLiterals'.
parser.enableSetLiterals = true;
^^^^^^^^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1837:19: Error: 'SetLiteral' isn't a type.
visitSetLiteral(SetLiteral node) {
^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:20: Error: The getter 'leftBracket' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'leftBracket'.
node, node.leftBracket, node.elements, node.rightBracket);
^^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:38: Error: The getter 'elements' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'elements'.
node, node.leftBracket, node.elements, node.rightBracket);
^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:53: Error: The getter 'rightBracket' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'rightBracket'.
node, node.leftBracket, node.elements, node.rightBracket);
^^^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:9: Error: The argument type 'invalid-type' can't be assigned to the parameter type '#lib1::TypedLiteral'.
Try changing the type of the parameter, or casting the argument to '#lib1::TypedLiteral'.
node, node.leftBracket, node.elements, node.rightBracket);
I saw that build, build_runner, and built_value_generator were updated, but I´m not sure if those libraries need to be updated on built_redux to fix this issue.
Thank you in advance
The text was updated successfully, but these errors were encountered:
This is nearly the same as #104 .
The analyzer has the wrong version. Is '>=0.33.0 <1.0.0' as overwrite for now.
There is the PR #105 which should resolve the issue. But @davidmarne is a bit quiet the last month.
Hi,
I have an issue when execute the build_runner command after I update to the flutter last version in stable channel.
The error displayed is the following
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1837:19: Error: Type 'SetLiteral' not found.
visitSetLiteral(SetLiteral node) {
^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/dart_formatter.dart:117:12: Error: The setter 'enableSetLiterals' isn't defined for the class 'analyzer.parser::Parser'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'enableSetLiterals'.
parser.enableSetLiterals = true;
^^^^^^^^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1837:19: Error: 'SetLiteral' isn't a type.
visitSetLiteral(SetLiteral node) {
^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:20: Error: The getter 'leftBracket' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'leftBracket'.
node, node.leftBracket, node.elements, node.rightBracket);
^^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:38: Error: The getter 'elements' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'elements'.
node, node.leftBracket, node.elements, node.rightBracket);
^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:53: Error: The getter 'rightBracket' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'rightBracket'.
node, node.leftBracket, node.elements, node.rightBracket);
^^^^^^^^^^^^
file:///C:/Users/jorjuela/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_style-1.2.2/lib/src/source_visitor.dart:1839:9: Error: The argument type 'invalid-type' can't be assigned to the parameter type '#lib1::TypedLiteral'.
Try changing the type of the parameter, or casting the argument to '#lib1::TypedLiteral'.
node, node.leftBracket, node.elements, node.rightBracket);
I saw that build, build_runner, and built_value_generator were updated, but I´m not sure if those libraries need to be updated on built_redux to fix this issue.
Thank you in advance
The text was updated successfully, but these errors were encountered: