Skip to content

Bug: Wrong case of expression_of_fn_ptr #355

@ssyram

Description

@ssyram

The following code:

use std::path::PathBuf;

fn func(path: PathBuf) -> PathBuf {
  path.components().skip(1).collect()
}
fn main() { }

Produces the error of:

ERROR translating test::func: File "lib/AstOfLlbc.ml", line 1726, characters 8-14: Assertion failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions