Comments (3)
@Gedochao yes, sorry I didn't include that initially, this happens with -Wunused:privates
enabled. Here's a scastie that reproduces it: https://scastie.scala-lang.org/mrdziuban/t6lzDsO7RlSHtv1ONz9KBA
from scala3.
@mrdziuban I can't seem to reproduce this.
Tried with Scala 3.3.3, 3.4.0, 3.4.1 and 9a5b9b4
Are you calling the compiler in a specific way? any flags?
from scala3.
Indeed.
I added the missing option to the repro description.
from scala3.
Related Issues (20)
- Operations on NamedTuples do not work with singleton types due to match type refusing to reduce
- Function Arguments of named tuples can't infer param types despite explicit type HOT 1
- Pattern term of CaseDef is an internal ClassInfo that crashes when matched on HOT 1
- Nested similar lamdas result in duplicate method in ClassDef
- Error does not show why rewrite to assignment did not work out
- Reference page: show pages "more details" in the table of contents
- Scala-docs: incorrect link on source file
- Union type inferred unexpectedly
- Regression in Scala 3.5.0-RC1 related to match types in `using` parameters HOT 1
- Symbol.asQuotes doesn't work as advertised HOT 4
- context function argument is not expanded in call to transparent inline which return Any
- Context function can not be returned from transparent inline macro
- Match type reduction inhibition
- doc fails to read scala.scalajs.js.Promise.then symbol
- selection Completions are not populated with namedTuples
- Wrong capture checking result with path HOT 1
- Regression in Scala 3.5.0-RC1 related to implicit search and match types that return type lambdas HOT 1
- Compiler crash when secondary constructor has 3 or more implicit parameters
- Wrong warning emitted during implicit resolution HOT 2
- default value ignored in @main
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 scala3.