sbt complains about feature warnings which are irrelevant to new users
@ducky64 ya está trabajando en esto.
Desde el 26/9/2018.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Type of issue: bug report | feature request
Impact: no functional change
Development Phase: request
Please tell us about your environment: Chisel 3.1
What is the use case for changing the behavior?
Is there a way for us to suppress feature warnings (or at the very least "reflective access of structural type member" warnings) which are irrelevant to users?
Currently running sbt raises feature warnings to users by default:
[warn] there were 1 feature warnings; re-run with -feature for details
[warn] one warning found
Enabling them leads sbt/scalac to complain excessively about accessing io fields, which is confusing to users since they have to wonder if this is a bug in their code (which it is not):
[warn] /.../src/main/scala/GCD.scala:32:6: reflective access of structural type member value outputGCD should be enabled
[warn] by making the implicit value scala.language.reflectiveCalls visible.
[warn] io.outputGCD := x
[warn] ^
[warn] /.../src/main/scala/GCD.scala:33:6: reflective access of structural type member value outputValid should be enabled
[warn] by making the implicit value scala.language.reflectiveCalls visible.
[warn] io.outputValid := y === 0.U
[warn] ^
[warn] 5 warnings found
[info] Done compiling.
[info] Compiling 1 Scala source to /.../target/scala-2.12/test-classes ...
[warn] /.../src/test/scala/GCDTester.scala:36:19: reflective access of structural type member value value1 should be enabled
[warn] by making the implicit value scala.language.reflectiveCalls visible.
[warn] This can be achieved by adding the import clause 'import scala.language.reflectiveCalls'
[warn] or by setting the compiler option -language:reflectiveCalls.
[warn] See the Scaladoc for value scala.language.reflectiveCalls for a discussion
[warn] why the feature should be explicitly enabled.
[warn] poke(gcd.io.value1, i)
[warn] ^
[warn] /.../src/test/scala/GCDTester.scala:37:19: reflective access of structural type member value value2 should be enabled
[warn] by making the implicit value scala.language.reflectiveCalls visible.
[warn] poke(gcd.io.value2, j)
- Lenguaje dominante
- Shell
- Estrellas
- 709
- Forks
- 204
- Merge medio
- 56 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de chipsalliance/chisel-template
-
No way to generate VCD filesAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
chipsalliance/chisel-template#142 · 4 comentarios ·
-
Failed to run templateAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
chipsalliance/chisel-template#141 · 4 comentarios ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 50/100
chipsalliance/chisel-template#130 ·
-
/Chisel3/Chisel/Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 55/100
chipsalliance/chisel-template#118 · 1 reacción ·
-
mill compile failAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
chipsalliance/chisel-template#108 ·
Todos los issues de chipsalliance/chisel-template
Issues similares
-
documentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aws/aws-networking-best-practices#256 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
ChatGPT directory is behind mainAbiertoopenai-directory
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
smores56/homelab-platform#289 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
omacom/omarchy#21787 · 3 comentarios ·
Los mantenedores suelen responder en 1 día