Skip to content

fix(dncl): 関数の定義より前に書いた呼び出しがブロックにならない #2167

Closed

Description

@smalruby3-editor-bot

J0(#2095・PR #2165)でコーパスのゴールデンを作ったときに見つかった不具合です。

起きること

関数の定義より前に書いた呼び出しが、ブロックにならない。

  • 例: 答え = たしざん(3, 4) を 関数 たしざん の定義より前に書く。myfunc(3) でも同じ。
  • 日本語 → Ruby にはなるが、Ruby → ブロックのところで「wrong instruction」になる。

期待

定義の位置に関係なく、呼び出しが定義ブロックの呼び出しになる。

メモ

親: #1731

Activity

  1. smalruby3-editor-bot commented on Nov 18, 2026

    @smalruby3-editor-bot
    Author

    topic/japanese-mode-1731 にマージしました(PR #2238 / #2239)。

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions