Skip to content

mismatched group with export/static function with a type param and a > #215

@paperclover

Description

@paperclover

Marko Version: v6.0.144

Details

export function a(): b {
    return c > d;
}

hello

Expected Behavior

compile ok

Actual Behavior

CompileError: 
    at tags/index.marko:1:7
    > 1 | export function a(): b {
        |       ^ Mismatched group. A ">" character was found when "}" was expected.
      2 |     return c > d;
      3 | }
      4 |
Check the devtools console for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions