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

Access to :ver :auth on class doesn't work #4735

Closed
p6rt opened this issue Nov 7, 2015 · 4 comments
Closed

Access to :ver :auth on class doesn't work #4735

p6rt opened this issue Nov 7, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 7, 2015

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

Searchable as RT126583$

@p6rt
Copy link
Author

p6rt commented Nov 7, 2015

From @jonathanstowe

class F​:ver<v0.0.1> {}; say F.^ver;

Method 'gist' not found for invocant of class 'NQPMu'
  in block <unit> at -e​:1

class F​:auth<foo> {}; say F.^auth;

Method 'gist' not found for invocant of class 'NQPMu'
  in block <unit> at -e​:1

They seem to be partially implemented as some random thing isn't created​:

class F​:blah<foo> {}; say F.^blah;

Method 'blah' not found for invocant of class 'Perl6​::Metamodel​::ClassHOW'
  in block <unit> at -e​:1

It appears that the thingies need a higher level representation to be useful.

It would be really nice if these worked as a) it's specced and b) otherwise people are going to come up with some other workarounds that won't be compatible.

Thanks,

@p6rt
Copy link
Author

p6rt commented Dec 15, 2015

From @jnthn

On Sat Nov 07 09​:34​:18 2015, jns+bc@​gellyfish.co.uk wrote​:

class F​:ver<v0.0.1> {}; say F.^ver;

Method 'gist' not found for invocant of class 'NQPMu'
in block <unit> at -e​:1

class F​:auth<foo> {}; say F.^auth;

Method 'gist' not found for invocant of class 'NQPMu'
in block <unit> at -e​:1

They seem to be partially implemented as some random thing isn't
created​:

class F​:blah<foo> {}; say F.^blah;

Method 'blah' not found for invocant of class
'Perl6​::Metamodel​::ClassHOW'
in block <unit> at -e​:1

It appears that the thingies need a higher level representation to be
useful.

It would be really nice if these worked as a) it's specced and b)
otherwise people are going to come up with some other workarounds that
won't be compatible.

Implemented and tested in S12-introspection/meta-class.t.

@p6rt
Copy link
Author

p6rt commented Dec 15, 2015

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

@p6rt
Copy link
Author

p6rt commented Dec 15, 2015

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

@p6rt p6rt closed this as completed Dec 15, 2015
@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