Skip to content

Remainder parameters shows 'takes 1 passed 2' when taking 0 and passing 1 #11

@matjojo

Description

@matjojo

When passing one parameter to a function taking 0 the diagnostic 'Remainder-parameters' says 'The function takes only 1 parameters, but you passed 2.'

example:

function test1() return "printable" end function test() print(test1("test")) end 

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUser has a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions