Skip to content

Semantic checker should catch use of this in a function call #7315

Description

@mattnibs

The use of this in a function body does not currently get caught by semantic checker but it ideally should:

$ super -c 'fn foo(s): ( upper(this) ) values foo("hi")'
error({message:"upper: string arg required",on:{s:"hi"}})

Activity

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