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

warn without parameters fails #1128

Closed
p6rt opened this issue Jul 9, 2009 · 5 comments
Closed

warn without parameters fails #1128

p6rt opened this issue Jul 9, 2009 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 9, 2009

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

Searchable as RT67372$

@p6rt
Copy link
Author

p6rt commented Jul 9, 2009

From jswitzer@gmail.com

(21​:42​:03) s1n​: rakudo​: warn
(21​:42​:06) p6eval​: rakudo 70bfd5​: OUTPUT«Warning! Something's wrong.␤␤»
(21​:42​:10) s1n​: hah
(21​:42​:25) TimToady​: it shouldn't have a newline
(21​:42​:39) TimToady​: Perl 5 would tell you the line number

This probably should use the recently implemented annotations (see RT#
53082).

-Jason "s1n" Switzer

@p6rt
Copy link
Author

p6rt commented Jun 5, 2010

From @jnthn

On Wed Jul 08 19​:55​:59 2009, s1n wrote​:

(21​:42​:03) s1n​: rakudo​: warn
(21​:42​:06) p6eval​: rakudo 70bfd5​: OUTPUT«Warning! Something's wrong.␤␤»
(21​:42​:10) s1n​: hah
(21​:42​:25) TimToady​: it shouldn't have a newline
(21​:42​:39) TimToady​: Perl 5 would tell you the line number

This probably should use the recently implemented annotations (see RT#
53082).

In latest Rakudo​:

C​:\Consulting\rakudo>type test.p6
sub foo() {
  warn;
}
foo();

C​:\Consulting\rakudo>perl6 test.p6
Warning at line 2​:test.p6

Given to moritz++ for spectests, if appropriate.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Jun 5, 2010

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

@p6rt
Copy link
Author

p6rt commented Jul 24, 2010

From @moritz

Now tested in S32-basics/warn.t

@p6rt
Copy link
Author

p6rt commented Jul 24, 2010

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

@p6rt p6rt closed this as completed Jul 24, 2010
@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