Skip to content

Add ast/tokenizer tests to FSharp.Compiler.ComponentTests #13484

@auduchinok

Description

@auduchinok

Please add a set of helpers that would allow dumping F# syntax trees and tokens, i.e. results of running the compiler with --ast and --tokenize flags. That would significantly simplify adding more parser tests, as well as make existing ones cover much more things once they're migrated.

It would be great if the helpers could allow choosing between dumping the tree, dumping the tokens, or dumping both. It could be subsequent verifyTokens and verifyAst calls.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions