Comments (3)
@nishanths Thank you for maintaining this project and fixing this so promptly!
from exhaustive.
Thank you for the report. I'm looking.
from exhaustive.
This should be fixed from v0.2.2 onward. Thanks again for reporting 🙂
from exhaustive.
Related Issues (20)
- Analyzer incorrectly detects comment directives on nested switch statements HOT 1
- Allow exhaustiveness checks on structs HOT 2
- in printed diagnostic, sort the missing constant names by AST order (not lexicographical order)
- superfluous type conversion in case clause results in a false positive report HOT 1
- define behavior when both "ignore" and "enforce" comment is present on the same switch/map statement HOT 1
- option to ignore switch statements on things like reflect.Kind HOT 5
- report ineffectual ignore comments HOT 1
- support for reading "-ignore-enum-types" and "-ignore-enum-members" values from files HOT 1
- Allow exhaustive check on map enum values as well as keys HOT 1
- Report invalid enforcement comments HOT 2
- Doesn't detect iota enums without type annotation HOT 1
- request a new option enforce-enum-types HOT 5
- Check exhaustiveness of map values in addition to keys HOT 2
- add docs for -default-case-required flag, related directive comments
- stricter requirements for directive comments
- borrow possibly useful ideas from swift's TypeCheckSwitchStmt.cpp file
- `info.Defs[%s] == nil` panic when `go.mod` have `go 1.22` HOT 2
- feature: check exhaustiveness of type switches for sealed interfaces
- go test ./... takes 35–45 seconds to complete
- Feature Request: Allow specifying that a type isn't an enum HOT 2
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 exhaustive.