Skip to content

Conversation

@takejohn
Copy link
Member

@takejohn takejohn commented Aug 7, 2025

What

  • 数値リテラルの整数部分または小数部分の0を省略できるようになります。
    • 整数でない数値リテラルは、整数部分が0の場合、0を省略して記述できるようになります。
      例: .5
    • 整数の数値リテラルは、小数部分の0を省略して記述できるようになります。
      例: 5.

Why

#950

Additional info (optional)

@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
src/parser/scanner.ts 95.15% <100.00%> (+6.39%) ⬆️

... and 29 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@takejohn
Copy link
Member Author

#954 をマージしたのでテストを追加しました。

@takejohn takejohn requested a review from FineArchs September 10, 2025 04:58
@takejohn
Copy link
Member Author

マージしてよろしい?

@syuilo
Copy link
Collaborator

syuilo commented Sep 24, 2025

まだ検討したいです🙏

@takejohn
Copy link
Member Author

#981 のような今後の言語拡張において混乱を生じうる

1..to_str

のような書き方はエラーになるようにしました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

整数部分と小数点だけ、小数点と小数部分だけの記法

4 participants