Skip to content

object names that include numbers generate parse errors  #16

@DazWilkin

Description

@DazWilkin

For example:

test1a = function (a) { return true; }

tested with

test = TypedJS.addTest("test1a :: Number -> Boolean", test1a);
TypedJS.go([test]);

fails with:

Uncaught Error: Parse error on line 1:
//+test1a :: Number -> Numb
-------^
Expecting '::'

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