#1701: .const string of a .local string that's been assigned to -> bus error
----------------------+-----------------------------------------------------
 Reporter:  hanekomu  |        Type:  bug   
   Status:  new       |    Priority:  normal
Milestone:            |   Component:  none  
  Version:  2.5.0     |    Severity:  medium
 Keywords:            |        Lang:        
    Patch:            |    Platform:  mac   
----------------------+-----------------------------------------------------
Description changed by bacek:

Old description:

> .sub 'bus_error'
>     .local string hello
>     hello = "'Allo, 'allo, 'allo."
>     .const string hello = "Hello, Polly."
>     say hello
> .end
>
> produces a bus error on parrot 2.5.0-devel, Mac OS X 10.5.8.
>
> Not assigning to the .local hello does not produce the bus error.

New description:

 {{{
 .sub 'bus_error'
     .local string hello
     hello = "'Allo, 'allo, 'allo."
     .const string hello = "Hello, Polly."
     say hello
 .end
 }}}

 produces a bus error on parrot 2.5.0-devel, Mac OS X 10.5.8.

 Not assigning to the .local hello does not produce the bus error.

--

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1701#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to