Skip to content

Add a Float type that isn't compatible with int #6

Closed as not planned
Closed as not planned
@KotlinIsland

Description

@KotlinIsland

int ducktypes to float, whacky alert!, add a Float type that doesn't ducktype.

def foo(f: Float):  ...

foo(1)  # invalid

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions