Skip to content

Replace checkExpr with ast.Inspect #223

@bombsimon

Description

@bombsimon

We only use checkExpr to eventually find an *ast.FuncLit so we can call checkBlock. This is unnecessary code and recursive code which can be handled with ast.Inspect which is ment for this. It might also give us some speed improvement.

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