Generalize the warning about combining number literals with decimal places with integer-type suffixes

オープン 初心者向け
#13,384 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
82/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, powershell
領域
documentation

調査の方向性

reference/7.7/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md を読み、long 型サフィックスが付いた double 実数リテラルに関する警告を見つけてください。issue の例を参考に、その動作がすべての整数型サフィックスに当てはまることを説明するよう更新してください。警告がより広い対象を正確に説明したら完了です。

索引モデルが issue の本文から書いたものです。

説明

needs-triage
Type of issue

Missing information

Feedback

The warning in question currently reads:

The syntax permits a double real literal to have a long-type suffix

However, it isn't just the [long] type suffix (l or L) that the behavior applies to, it is ALL integer-type suffixes (y, uy, s, us, ...)

E.g., 1.5y and 2.5y both result in [sbyte] value 2.

Page URL

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_Numeric_Literals?view=powershell-7.7

Content source URL

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.7/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md

Author

@sdwheeler

Platform Id

dac0e2f9-5d6c-27aa-4439-31eec1460c43

Document Id

39e82455-dbc6-c9a1-5476-e7577feace13

主要言語
PowerShell
スター
2.6k
フォーク
1.7k
平均マージ
1日 4時間
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MicrosoftDocs/PowerShell-Docs のほかの issue

MicrosoftDocs/PowerShell-Docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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