Skip to content

typescript: func_precision_pct - Parameter Declarations Matched as Object Properties #1706

Description

@squid-protocol

The zero-prefix regex branch intended for object methods correctly matches things like method: () => {}. However, lacking parenthesis boundaries, it falsely triggers on function arguments with an arrow-function type annotation defined at the start of a line (e.g., f: (...a: A) => B), mistaking a parameter declaration for an object property holding a function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-positiveAccuracy tuning: Engine incorrectly flagged safe code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions