Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Woo it compiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Olson committed Aug 11, 2010
1 parent 54206df commit 66e18cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.ooc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ main: func {
arg2 := GenericValue new(int_t, 5 as ULLong, 0)
arg3 := GenericValue new(int_t, 2 as ULLong, 0)

result := engine runFunction(sum, 3, [arg1, arg2, arg3] as GenericValue[])
result := engine runFunction(sum, 3, [arg1, arg2, arg3] as GenericValue*)
result toInt(0) toString() println()

// A simple test for the enum covers. Currently broken in rock.
Expand Down

2 comments on commit 66e18cc

@nddrylliog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah. That's what you call "no code using Array.h"

@solson
Copy link
Owner

@solson solson commented on 66e18cc Aug 11, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My file was longer than I remember. :(
I was paying attention to the first place where I was using array literals. In any case, down with Arrays!

Please sign in to comment.