Skip to content

Instantly share code, notes, and snippets.

@sorear
Created June 20, 2013 11:09
Show Gist options
  • Save sorear/5821914 to your computer and use it in GitHub Desktop.
Save sorear/5821914 to your computer and use it in GitHub Desktop.
rakudo is mocking me
Stefans-MacBook-Air:rakudo-jvm sorear$ ./perl6 --ll-exception
> "6".Numeric
6
> my $x = "6"
6
> $x.Numeric
Could not find symbol '&Return'
> "6".Numeric
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
> "6".Numeric
Cannot convert string to number: trailing characters after number in '⏏6' (indicated by ⏏)
> "6".Numeric
Cannot convert string to number: base-10 number must begin with valid digits or '.' in '6⏏' (indicated by ⏏)
> "6".Numeric
Cannot convert string to number: trailing characters after number in '⏏6' (indicated by ⏏)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment