flutter / flutter/devtools

Use dot-shorthand syntax for doubles when possible

Abierto
#9,328 0 comentarios 0 reacciones 0 asignados Ver en GitHub
analysis-server-change-needed P3 property editor
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.