Skip to content

fix: 関数の引数の初期値内に不正なreturn文がある場合に文法エラーにならない問題を修正 - #977

Merged
takejohn merged 4 commits into
bugfix/release_1.1.2from
bugfix/976_invalid-return-in-default-argument
Sep 26, 2025
Merged

takejohn merged 4 commits into
bugfix/release_1.1.2from
bugfix/976_invalid-return-in-default-argument

Conversation

@takejohn

Copy link
Copy Markdown
Member

What

以下のように、関数の引数の初期値内に不正なreturn文がある場合に文法エラーにならない問題を修正しました。

@(x = eval { return 0 }) {}

Why

#976

Additional info (optional)

このPRをbugfix/release_1.1.2ブランチにマージした後で
バージョン1.1.2のリリースを行いたいです。

@takejohn
takejohn merged commit ef3662f into bugfix/release_1.1.2 Sep 26, 2025
4 checks passed
@takejohn
takejohn deleted the bugfix/976_invalid-return-in-default-argument branch September 26, 2025 06:21
@takejohn

Copy link
Copy Markdown
Member Author

@syuilo 問題なければbugfix/release_1.1.2ブランチでのpublishお願いします 🙏

@syuilo

syuilo commented Sep 26, 2025

Copy link
Copy Markdown
Collaborator

しました!

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.

3 participants