mirah/mirah — Issue #158: Constructors w/ optional args don't generate the optional arg signatures
Author: baroquebobcat
Created: 2011-12-17 00:04:28+00:00
State: open

```mirah

class Foo
def initialize x = 1
@x = x
end
def bar z = 2
@x+z
end
end
```

produces

```java
// Generated from foo.mirah
public class Foo extends java.lang.Object {
private int x;
public Foo(int x) {
this.x = x;
}
public int bar(int z) {
return (this.x + z);
}
public int bar() {
return this.bar(2);
}
}
```

There should be a

```java
public Foo() {
Foo(1);
}
```

in there.

I'm hoping to get to this this sunday.