eclipse-archived / ceylon

The Ceylon compiler, language module, and command line tools
http://ceylon-lang.org
Apache License 2.0
398 stars 62 forks source link

overloaded static methods can't be imported #7403

Closed gavinking closed 6 years ago

gavinking commented 6 years ago

Given:

class Ceylon1 {
    shared overloaded static void foo() {}
    shared overloaded static void foo(Object o) {}

    shared new () {}
}

I can't import foo:

import stuff { Ceylon1 { foo }

See:

https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/ceylon-users/jcdCNTjwaOc/zH4zX0G5BgAJ

gavinking commented 6 years ago

Fixed.