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

Fix a typo in src/classes/IO.pir #113

Closed
p6rt opened this issue May 29, 2008 · 6 comments
Closed

Fix a typo in src/classes/IO.pir #113

p6rt opened this issue May 29, 2008 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 29, 2008

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

Searchable as RT55032$

@p6rt
Copy link
Author

p6rt commented May 29, 2008

From @bacek

Hello.

There is typo in src/classes/IO.pir

diff --git a/languages/perl6/src/classes/IO.pir
b/languages/perl6/src/classes/IO
index 074834a..c90b784 100644
--- a/languages/perl6/src/classes/IO.pir
+++ b/languages/perl6/src/classes/IO.pir
@​@​ -20,7 +20,7 @​@​ This file implements the IO file handle class.
  .local pmc p6meta
  p6meta = get_hll_global ['Perl6Object'], '$!P6META'
  p6meta.'new_class'('IO', 'parent'=>'Any', 'attr'=>'$!PIO')
- p6meta.'new_class'('IOIterator', 'parent'=>'Perl6Object',
'attr'=>'$!I0')
+ p6meta.'new_class'('IOIterator', 'parent'=>'Perl6Object',
'attr'=>'$!IO')
  .end

  =item print

--
Bacek.

@p6rt
Copy link
Author

p6rt commented May 29, 2008

From @bacek

On Thu May 29 03​:47​:17 2008, bacek wrote​:

I missed part of patch...

--- a/languages/perl6/src/classes/IO.pir
+++ b/languages/perl6/src/classes/IO.pir
@​@​ -107,7 +107,7 @​@​ Gets the iterator for the IO object.
.sub 'prefix​:=' :multi('IO')
  .param pmc io
  $P0 = get_hll_global 'IOIterator'
- $P0 = $P0.'new'('IO' => io)
+ $P0 = $P0.'new'('$!IO' => io)
  .return($P0)
.end

@p6rt
Copy link
Author

p6rt commented May 29, 2008

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

@p6rt
Copy link
Author

p6rt commented May 29, 2008

From @bacek

Sorry. Forget bout this one :)

On Thu May 29 03​:55​:05 2008, bacek wrote​:

On Thu May 29 03​:47​:17 2008, bacek wrote​:

I missed part of patch...

--- a/languages/perl6/src/classes/IO.pir
+++ b/languages/perl6/src/classes/IO.pir
@​@​ -107,7 +107,7 @​@​ Gets the iterator for the IO object.
.sub 'prefix​:=' :multi('IO')
.param pmc io
$P0 = get_hll_global 'IOIterator'
- $P0 = $P0.'new'('IO' => io)
+ $P0 = $P0.'new'('$!IO' => io)
.return($P0)
.end

@p6rt
Copy link
Author

p6rt commented May 29, 2008

From @pmichaud

Fixed in r27918, thanks!

Pm

@p6rt
Copy link
Author

p6rt commented May 29, 2008

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

@p6rt p6rt closed this as completed May 29, 2008
@p6rt p6rt added the patch 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