Skip to content

2.4.8 bare @ in function call #261

Closed
Closed

Description

@falsefalse

tried to reopen the previous issue #260 but i can't, so creating new one.

i still can see that not everything is right with updated @ treatment. looks like when @ is passed as a function parameter further scopes aren't matched correctly.

this @
Image Image
method_with_at: ->
  other = 123
  local = fn(@, 'something', other)
  [other, local, 123, etc]

method_with_this: ->
  other = 123
  local = fn(this, 'something', other)
  [other, local, 123, etc]

Activity

  1. added theissue type on Jan 6, 2026
  2. michaelblyons commented on Jan 6, 2026

    @michaelblyons

    Good bug report. It looks like member needs some bailout matches.

    I don't know enough CoffeeScript to know what, but at least ,, and likely ). Maybe } and ], too? I would say pop on anything not otherwise expected, but the and= stuff has me concerned about doing that.

  3. changed the title [-]2.4.8 release treatment of `@` is not correct[/-] [+]2.4.8 bare `@` in function call[/+] on Jan 6, 2026
  4. added a commit that references this issue on Jan 6, 2026
    7dc396c
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions