sbt complains about feature warnings which are irrelevant to new users
@ducky64 がすでに取り組んでいます。
2018年9月26日 から。
評価
この issue はまだ評価されていません。
説明
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)
- 主要言語
- Shell
- スター
- 709
- フォーク
- 204
- 平均マージ
- 56分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chipsalliance/chisel-template のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
chipsalliance/chisel-template#142 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
chipsalliance/chisel-template#141 · コメント 4 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 50/100
chipsalliance/chisel-template#130 ·
-
/Chisel3/Chisel/オープン
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
chipsalliance/chisel-template#118 · リアクション 1 件 ·
-
mill compile failオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
chipsalliance/chisel-template#108 ·
chipsalliance/chisel-template の issue をすべて見る
似ている issue
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws/aws-networking-best-practices#256 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
smores56/homelab-platform#289 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
omacom/omarchy#21787 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信