Comments (2)
I am just wanted to migrade from super_enum and it seems like I can not get this library to run the generator successfully
[INFO] Precompiling build script......
[WARNING] /C:/Users/ride4/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/sealed_generators-1.13.0/lib/src/manifest/manifest_reader_builder.dart:40:12: Error: The getter '
isEnum' isn't defined for the class 'ClassElement'.
- 'ClassElement' is from 'package:analyzer/dart/element/element.dart' ('/C:/Users/ride4/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/analyzer-5.2.0/lib/dart/element/el
ement.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isEnum'.
!cls.isEnum && !cls.isMixin && !cls.isMixinApplication,
^^^^^^
/C:/Users/ride4/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/sealed_generators-1.13.0/lib/src/manifest/manifest_reader_builder.dart:40:27: Error: The getter 'isMixin' i
sn't defined for the class 'ClassElement'. - 'ClassElement' is from 'package:analyzer/dart/element/element.dart' ('/C:/Users/ride4/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/analyzer-5.2.0/lib/dart/element/el
ement.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isMixin'.
from dart_sealed.
Same. Waiting for update...
from dart_sealed.
Related Issues (14)
- Suggestion to add map method and... HOT 26
- Use manifest class constructor for common fields HOT 1
- copyWith generation HOT 1
- Use `mapOrNull` instead of `partialMap` HOT 1
- Suggestion to make sub classes private HOT 1
- How can I convert super enums to this package HOT 1
- Functional types are not supported as field types HOT 3
- Support for nullable optional parameters HOT 9
- Mention to ignore generated files on .gitignore and analysis_options.yaml HOT 4
- @WithPrefix does not permit empty string as argument HOT 2
- Default values for fields HOT 2
- Common fields HOT 27
- Unnamed constructor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart_sealed.