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

misleading error message for 'our Str a' #1985

Closed
p6rt opened this issue Jul 30, 2010 · 5 comments
Closed

misleading error message for 'our Str a' #1985

p6rt opened this issue Jul 30, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 30, 2010

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

Searchable as RT76830$

@p6rt
Copy link
Author

p6rt commented Jul 30, 2010

From @cognominal

$ perl 6

our Str a
In "our" declaration, typename Str must be predeclared (or marked as
declarative with :​: prefix) at line 1, near " a\n"

--
cognominal stef

@p6rt
Copy link
Author

p6rt commented Oct 3, 2011

From @coke

On Fri Jul 30 06​:34​:10 2010, cognominal wrote​:

$ perl 6

our Str a
In "our" declaration, typename Str must be predeclared (or marked as
declarative with :​: prefix) at line 1, near " a\n"

Here's what STD has to say​:

14​:25 <+p6eval> std 8b331d2​: OUTPUT«===SORRY!===␤Multiple prefix constraints
  not yet supported at /tmp/k9Lxlm7UTU line 1​:␤------> our Str
  ⏏a␤Malformed our at /tmp/k9Lxlm7UTU line 1​:␤------> our Str ⏏a␤
  expecting any of​:␤ multi_declarator␤ typen…

Rakudo is still giving the same error as before.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 3, 2011

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

@p6rt
Copy link
Author

p6rt commented Jul 25, 2012

From @coke

On Mon Oct 03 11​:26​:36 2011, coke wrote​:

On Fri Jul 30 06​:34​:10 2010, cognominal wrote​:

$ perl 6

our Str a
In "our" declaration, typename Str must be predeclared (or marked as
declarative with :​: prefix) at line 1, near " a\n"

Here's what STD has to say​:

14​:25 <+p6eval> std 8b331d2​: OUTPUT«===SORRY!===␤Multiple prefix
constraints
not yet supported at /tmp/k9Lxlm7UTU line 1​:␤------>
our Str
⏏a␤Malformed our at /tmp/k9Lxlm7UTU line 1​:␤------>
our Str ⏏a␤
expecting any of​:␤ multi_declarator␤ typen…

Rakudo is still giving the same error as before.

This now says​:

11​:29 < [Coke]> r​: our Str a; #RT#​76830
11​:29 <+p6eval> rakudo 4fe23e​: OUTPUT«===SORRY!===␤Malformed our␤at
  /tmp/UfrCAUT0Im​:1␤»

Closable?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 3, 2013

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

@p6rt p6rt closed this as completed Jan 3, 2013
@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