Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.
This repository was archived by the owner on May 31, 2020. It is now read-only.

x.abs(), x.range() etc does not error out  #903

Open
@patiences

Description

@patiences
x = 1 
x.abs()

This should throw an error like AttributeError: 'int' object has no attribute 'abs', but it doesn't, and perhaps the reason is because x.abs() is the same as abs(x) once the function has been invoked on the java side. Not surprisingly, this is also problematic for x.range() and x.type().

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