Skip to content

Conversation

takejohn
Copy link
Member

What

プロパティアクセスのドット記法に予約語や文字列を使えるようになります。
例:

let x = {}
x.default = 0
x.public = 1
x."藍" = 2

Why

Additional info (optional)

@codecov-commenter
Copy link

⚠️ 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/plugins/validate-keyword.ts 100.00% <100.00%> (+11.38%) ⬆️
src/parser/syntaxes/expressions.ts 95.45% <100.00%> (+6.26%) ⬆️

... and 28 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.

Copy link
Collaborator

@syuilo syuilo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@takejohn takejohn changed the title プロパティアクセスのドット記法に予約語や文字列を使えるように enhance: プロパティアクセスのドット記法に予約語や文字列を使えるように Sep 24, 2025
@takejohn takejohn merged commit 7372dbe into aiscript-dev:master Sep 25, 2025
4 checks passed
@takejohn takejohn deleted the enhance/971_reserved-word-prop branch September 25, 2025 14:46
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