Comments (2)
I'd say this is something that can be added by macros or code generation, but definitely not something we'd want to add to every enum.
from language.
I think #357 is a better approach to this problem.
from language.
Related Issues (20)
- Make sure type-special-casing for numbers is updated to account for extension types. HOT 5
- Are macros applied on packages too? HOT 8
- Rethink `required` to be optional for non-nullable named parameters without default values HOT 2
- Introduce abstraction for specifying "class-like" structure HOT 2
- class tear-off with extra parameters HOT 3
- Make default values of parameters parts of function type HOT 2
- Allow functions to be used directly as metadata annotations HOT 5
- Investigate the ability for macros to add mixins and interfaces HOT 2
- Use bottom-up type inference for invocations of generic functions with non-covariant parameter types
- Specify UP on extension types. HOT 4
- Can we allow `mixin on <SealedClass>`? HOT 6
- Allow resolving any identifier to its declaration in the definitions phase (phase 3) HOT 1
- Straw alternative for negative if-variables HOT 1
- Inherent extensions HOT 3
- Provide a way to fully close a type in the same library HOT 2
- Infer the return type of a cycle-free arrow getter HOT 12
- Add support for extension macros and introspection HOT 1
- Add support for extension type macros and introspection HOT 3
- Macro phases example HOT 2
- Whether local variables and method parameters should be disabled and begin with an underscore 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 language.