basmith / stab-language

Automatically exported from code.google.com/p/stab-language
Apache License 2.0
0 stars 0 forks source link

[Constructors] Not possible in static classes #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Constructors in static classes should not be possible. For example

using java.lang;
using stab.lang;

package examples {

    [StaticClass]
    public final class StringUtil {

        public StringUtil() {
        }
    }
}

should have a compile error.

Original issue reported on code.google.com by ice.ta...@gmail.com on 19 Jun 2010 at 1:29

GoogleCodeExporter commented 8 years ago
A compile error is now reported

Original comment by stab.hac...@gmail.com on 26 Jun 2010 at 1:09