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

No friendly warning when putting parentheses too close to an 'if' in Rakudo #1907

Closed
p6rt opened this issue Jul 2, 2010 · 5 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 2, 2010

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

Searchable as RT76358$

@p6rt
Copy link
Author

p6rt commented Jul 2, 2010

From @masak

<Improv> Oh, hey, why doesn't perl6 complain then about if() ? It's
only upset about elsif()
<masak> rakudo​: if()
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===â�¤Missing block [...]
<pmichaud> Improv​: implementation bug.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 29, 2010

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

@p6rt
Copy link
Author

p6rt commented May 2, 2011

From @tadzik

On Fri Jul 02 14​:01​:40 2010, masak wrote​:

<Improv> Oh, hey, why doesn't perl6 complain then about if() ? It's
only upset about elsif()
<masak> rakudo​: if()
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===â�¤Missing block [...]
<pmichaud> Improv​: implementation bug.
* masak submits rakudobug

tadzik | rakudo​: if()
+p6eval | rakudo 6ca614​: OUTPUT«Could not find sub &ifâ�¤ in main
  | program body at line 22​:/tmp/CExmcu3ZXOâ�¤Â»
tadzik | std​: if()
+p6eval | std 9f27365​:
  | OUTPUT«?[31m===?[0mSORRY!?[31m===?[0mâ�¤Undeclared
  | routine​:â�¤ 'if' used at line 1â�¤Check failedâ�¤FAILED 00​:01
  | 112mâ�¤Â»
tadzik | good enough then

Rakudo now matches STD, so I think we can close this one.

@p6rt
Copy link
Author

p6rt commented Mar 9, 2013

From @jnthn

On Mon May 02 02​:45​:54 2011, tadzik wrote​:

On Fri Jul 02 14​:01​:40 2010, masak wrote​:

<Improv> Oh, hey, why doesn't perl6 complain then about if() ? It's
only upset about elsif()
<masak> rakudo​: if()
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===â�¤Missing block [...]
<pmichaud> Improv​: implementation bug.
* masak submits rakudobug

tadzik | rakudo​: if()
+p6eval | rakudo 6ca614​: OUTPUT«Could not find sub &ifâ�¤ in main
| program body at line 22​:/tmp/CExmcu3ZXOâ�¤Â»
tadzik | std​: if()
+p6eval | std 9f27365​:
| OUTPUT«?[31m===?[0mSORRY!?[31m===?[0m�Undeclared
| routine​:â�¤ 'if' used at line 1â�¤Check failedâ�¤FAILED 00​:01
| 112m�»
tadzik | good enough then

Rakudo now matches STD, so I think we can close this one.

Indeed, resolving. Note that RT#​73806 tracks the fact that we don't give
a good warning for "if(foo) { bar }" yet.

/jnthn

@p6rt p6rt closed this as completed Mar 9, 2013
@p6rt
Copy link
Author

p6rt commented Mar 9, 2013

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

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant