Skip to content

Incorrect whitespace_011 for real values with negative exponent #1404

@ru551n

Description

@ru551n

Environment
VSG version 3.27.0
Windows 11

Describe the bug
Incorrect failure when calling functions with real values which have negative exponent.

To Reproduce

my_function(1.0e-3)

Will incorrectly yield a whitespace_011 (space around math operators) stating that space is required around the - sign.

Expected behavior
Functions should be able to take real values with negative exponent. Having a space around the operator is a syntactic error.

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions