Skip to content

Unexpected token (ID, 'params') #104

@FVolral

Description

@FVolral

I've the following error when I'm trying to parse a file:

Illegal character '\xa0' at 1:2065 after LexToken(ID,'Â',1,2064)
  File "<string>", line unknown
SyntaxError: Unexpected token (ID, 'params') at 1:2066 between LexToken(ID,'Â',1,2064) and LexToken(PERIOD,'.',1,2072)

It comes from these lines of code:

if (!(params.args && params.args[0] !== undefined)) {
    params.kwargs.domain = options.domain || params.domain || params.kwargs.domain || [];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions