+
Skip to content

Implementation resolution is failing to die on ambiguous choices #49

@arendsee

Description

@arendsee

In this case:

module main (foo)

import root-py

foo x y = mul 2.0 (add x y)
foo x y = mul 3.0 (add x y)

There are two implementations with equal scores. Both have the same number of expressions and use the same functions. This should raise an error. Instead, just the first expression is selected.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载