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

Rakudo shouldn't expose C<File> as a core class #599

Closed
p6rt opened this issue Jan 10, 2009 · 8 comments
Closed

Rakudo shouldn't expose C<File> as a core class #599

p6rt opened this issue Jan 10, 2009 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Jan 10, 2009

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

Searchable as RT62156$

@p6rt
Copy link
Author

p6rt commented Jan 10, 2009

From @masak

<masak> rakudo​: File.new
<p6eval> rakudo 35336​: OUTPUT«get_bool() not implemented in class 'File' [...]
<masak> rakudo​: say File.new
<p6eval> rakudo 35336​: OUTPUT«get_string() not implemented in class 'File' [...]
<masak> rakudo​: say File.new.WHAT
<p6eval> rakudo 35336​: OUTPUT«Method 'WHAT' not found for invocant of
class 'File' [...]
* masak files rakudobug

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

From @pmichaud

On Sat Jan 10 03​:34​:57 2009, masak wrote​:

<masak> rakudo​: File.new
<p6eval> rakudo 35336​: OUTPUT«get_bool() not implemented in class
'File' [...]
<masak> rakudo​: say File.new
<p6eval> rakudo 35336​: OUTPUT«get_string() not implemented in class
'File' [...]
<masak> rakudo​: say File.new.WHAT
<p6eval> rakudo 35336​: OUTPUT«Method 'WHAT' not found for invocant of
class 'File' [...]
* masak files rakudobug

Is C<File> a class? I can't find any mention of it in the synopses.

Pm

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

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

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

From @masak

Pm (>)​:

Is C<File> a class? I can't find any mention of it in the synopses.

OH, you're right. Changing the name of this ticket to "Rakudo shouldn't
expose C<File> as a core class". :)

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

From @jnthn

Patrick R. Michaud via RT wrote​:

On Sat Jan 10 03​:34​:57 2009, masak wrote​:

<masak> rakudo​: File.new
<p6eval> rakudo 35336​: OUTPUT«get_bool() not implemented in class
'File' [...]
<masak> rakudo​: say File.new
<p6eval> rakudo 35336​: OUTPUT«get_string() not implemented in class
'File' [...]
<masak> rakudo​: say File.new.WHAT
<p6eval> rakudo 35336​: OUTPUT«Method 'WHAT' not found for invocant of
class 'File' [...]
* masak files rakudobug

Is C<File> a class? I can't find any mention of it in the synopses.

Not that I'm aware of. IO is mentioned (and somewhat implemented in
Rakudo) - I don't think we have a File class...

Jonathan

@p6rt
Copy link
Author

p6rt commented May 4, 2009

From @ronaldxs

File is a Parrot class (as in there is a parrot/src/pmc/file.pmc that
declares "pmclass File") and "rakudo​: File.new" behaves more or less
identically with (for example) "rakudo​: UnManagedStruct.new".

@p6rt
Copy link
Author

p6rt commented May 15, 2009

From @jnthn

On Sat Jan 10 03​:34​:57 2009, masak wrote​:

<masak> rakudo​: File.new
<p6eval> rakudo 35336​: OUTPUT«get_bool() not implemented in class
'File' [...]
<masak> rakudo​: say File.new
<p6eval> rakudo 35336​: OUTPUT«get_string() not implemented in class
'File' [...]
<masak> rakudo​: say File.new.WHAT
<p6eval> rakudo 35336​: OUTPUT«Method 'WHAT' not found for invocant of
class 'File' [...]
* masak files rakudobug

Thanks to Tene++ we've now switched over to using HLL 'Perl6', and the
Parrot File class (and others) is no longer exposed.

File.new
Could not find non-existent sub File

So, looking good; resolving ticket.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented May 15, 2009

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

@p6rt p6rt closed this as completed May 15, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant