Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal failure in Levenshtein distance calculator in Rakudo #3036

Closed
p6rt opened this issue Jan 25, 2013 · 5 comments
Closed

Internal failure in Levenshtein distance calculator in Rakudo #3036

p6rt opened this issue Jan 25, 2013 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jan 25, 2013

Migrated from rt.perl.org#116547 (status was 'resolved')

Searchable as RT116547$

@p6rt
Copy link
Author

p6rt commented Jan 25, 2013

From @masak

<cog> r​: my ($abe, $ba, $abc); $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤elements() not implemented
in class 'Array'␤»
<jnthn> wtf
<cog> :)
<jnthn> r​: $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤Variable '$abd' is not declared [..]
<jnthn> r​: my $abc; $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤Variable '$abd' is not
declared. Did you mean '$abc'? [...]
* masak submits rakudobug
<jnthn> r​: my $abc; my $abe; $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤elements() not implemented
in class 'Array'␤»
<jnthn> *sigh*
<cog> problem is with many approximate candidates with the levenstein distance
<cog> nice code btw. :)

@p6rt
Copy link
Author

p6rt commented Jan 30, 2013

From @jnthn

On Fri Jan 25 14​:16​:29 2013, masak wrote​:

<cog> r​: my ($abe, $ba, $abc); $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤elements() not implemented
in class 'Array'␤»
<jnthn> wtf
<cog> :)
<jnthn> r​: $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤Variable '$abd' is not
declared [..]
<jnthn> r​: my $abc; $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤Variable '$abd' is not
declared. Did you mean '$abc'? [...]
* masak submits rakudobug
<jnthn> r​: my $abc; my $abe; $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤elements() not implemented
in class 'Array'␤»
<jnthn> *sigh*
<cog> problem is with many approximate candidates with the levenstein
distance
<cog> nice code btw. :)

Works now​:

$ perl6 -e "my ($abe, $ba, $abc); $abd"
===SORRY!===
Variable '$abd' is not declared. Did you mean any of these?
  $abe
  $abc

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jan 30, 2013

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 15, 2014

From @coke

On Wed Jan 30 12​:32​:36 2013, jnthn@​jnthn.net wrote​:

On Fri Jan 25 14​:16​:29 2013, masak wrote​:

<cog> r​: my ($abe, $ba, $abc); $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤elements() not implemented
in class 'Array'␤»
<jnthn> wtf
<cog> :)
<jnthn> r​: $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤Variable '$abd' is not
declared [..]
<jnthn> r​: my $abc; $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤Variable '$abd' is not
declared. Did you mean '$abc'? [...]
* masak submits rakudobug
<jnthn> r​: my $abc; my $abe; $abd
<p6eval> rakudo 6b0cea​: OUTPUT«===SORRY!===␤elements() not implemented
in class 'Array'␤»
<jnthn> *sigh*
<cog> problem is with many approximate candidates with the levenstein
distance
<cog> nice code btw. :)

Works now​:

$ perl6 -e "my ($abe, $ba, $abc); $abd"
===SORRY!===
Variable '$abd' is not declared. Did you mean any of these?
$abe
$abc

Tagging testneeded.

/jnthn

Test added in S32-exceptions/misc.t

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 15, 2014

@coke - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant