Browse files

sub int() is gone (as announced in the 2009-08 release), give a helpf…

…ul error message instead
  • Loading branch information...
1 parent c3d93dc commit 9a61441ec3281f0306f88f67d47eeee5a3ae35f4 @moritz moritz committed Sep 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/builtins/any-num.pir
@@ -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")
.namespace ['Any']

0 comments on commit 9a61441

Please sign in to comment.