- A Concurrent Affair - https://www.concurrentaffair.org -

New Mint Release: r15707

When working on our GPCE tutorial, Eddy and I discovered a small bug in the Mint compiler which I have now fixed in the new release of Mint [1] and DrJava with Mint [2]: August 24, 2010 (r15707). The latest release is, as always, available from the Mint implementation [3] page:

The only change I made was to fix the let expression pretty printer when the expression contained more than one declaration.

The problem never came up before because we only had one declaration per let expression, and it was always possible to rewrite

[cc lang=”java”]let int x = 1, y = 2; x+y[/cc]

as

[cc lang=”java”]let int x = 1; let int y = 2; x+y[/cc]

We are pushing the Mint compiler more, and we have discovered another problem with generic methods. Currently, Mint generates a class extending [cci lang=”java”]Code[/cci] with [cci]X[/cci] occuring unbound when this method is called:

[cc lang=”java”]public separable abstract Code fun(Code c1, Code c2, Object… param);[/cc]

We are looking at making another bugfix soon.

(Re-posted from The Java Mint Blog [7].)

[8] [9]Share [10]