flutter / flutter/devtools

Use dot-shorthand syntax for doubles when possible

オープン
#9,328 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
analysis-server-change-needed P3 property editor
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

If a user has a double property that could support dot shorthand syntax but isn't, e.g.:

* `double.infinity` -> `.infinity`
* `double.nan` -> `.nan`

We could display the dot-shorthand version to help users discover this new language feature. This would require the analysis server to send the current Dart version to the Property Editor Client so that the Property Editor Client can determine whether dot-shorthand syntax is supported.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。