Skip to content

Dictionary get missing parentheses #122

Closed
@lbargaoanu

Description

@lbargaoanu
Expression<Func<object, string>> expr = o => ((Dictionary<string, string>)o)["key"];
expr.ToReadableString().Dump();

I get o => (Dictionary<string, string>)o["key"].

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions