|
|
Hi Bryce,
thanks for picking this up so quickly!
Just one thing; you missed one fix in the example I made; the constructor is
still called 'Integer' while it should be 'Int'.
> >> On the same page there is a Java example that will not compile, I
> >> found and
> >> fixed 3 bugs; Please replace with:
> >> public class Int
> >> {
> >> public int i;
> >> public Int(int i) { this.i = i; }
> >> public static Int zero = new Int(0);
> >> }
...
> @@ -1560,7 +1560,7 @@
> @{
> public int i;
> public Integer (int i) @{ this.i = i; @}
> - public static zero = new Integer(0);
> + public static Int zero = new Int(0);
> @}
> @end example
--
Thomas Zander
|
|