Export to GitHub

frege - issue #4

native cannot cannot return boxed primitive


Posted on Sep 12, 2011 by Grumpy Rabbit

What steps will reproduce the problem?

When the source code contains:

`pure native foo x.y.Z.foo :: Int -> Maybe Int`

it generates

`return Prelude.<int>_toMaybe(x.y.Z.foo(_arg1));`

Comment #1

Posted on Sep 17, 2011 by Grumpy Rabbit

Every primtive type now has its own _xxxToMaybe method.

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Logic