Consider the following code


main = !10 ; rules(Foo: 0 -> ) ; 0
———–

One would expect that the result should be 10, but it is in fact 7c307b20d16238d92ad82c1c73c679fe (and this probably varies between installations).

Submitted on 29 April 2006 at 18:09

On 6 May 2010 at 21:19 Sverre Rabbelier commented:

I got hit by this I think, I had:


declare : Entity(name, InheritsNone(), _) ->
with rules (
EntityDeclaration : name ->
)

Which resulted in resolving to ‘-73140’?

Whereas if I use:


declare : e@Entity(name, InheritsNone(), _) -> e
with rules (
EntityDeclaration : name -> e
)

Everything is fine and dandy.


On 28 January 2013 at 14:45 Eelco Visser removed tag 0.18M4

On 28 January 2013 at 14:45 Eelco Visser tagged interesting

Log in to post comments