Skip to content

Validation/Parsing error that leads to <missing token EOF> #61

@jvaldiviezo9

Description

@jvaldiviezo9

Describe the bug
when passing a negative number as argument in a function call or as a parameter it triggers

To Reproduce
Put the below code snipped in a module.

Code

sub test1()
    
    call dummy(param, -0.15)  ' having the - causes the error

end sub

sub test(optional filter_test As Variant = -0.1)  ' passing this as an optional parameter has the same effect
    
    call dummy(param, 2.15)

end sub

Expected behavior
passing a negative number as argument should not trigger any error.

Screenshots

Image

Image

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