Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sub int() is gone (as announced in the 2009-08 release), give a helpf…
…ul error message instead
  • Loading branch information
moritz committed Sep 15, 2009
1 parent c3d93dc commit 9a61441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtins/any-num.pir
Expand Up @@ -42,7 +42,7 @@ the size of that file down and to emphasize their generic,

.namespace ['Any']
.sub 'int' :method :multi(_)
.tailcall self.'truncate'()
"die"("the int() sub and .int method have been replaced by the .Int method")
.end

.namespace ['Any']
Expand Down

0 comments on commit 9a61441

Please sign in to comment.