Skip to content

Methods named extension cannot be invoked #10076

Closed
@tgodzik

Description

@tgodzik

Minimized code

This code doesn't compile:

def extension(a : Int ) = 5 
extension(1) 

Expectation

Either this compiles or we shouldn't be able to name the function extension

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