# New Ticket Created by  Jerry Gay 
# Please include the string:  [perl #42769]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42769 >


it seems that 'object' is a reserved word in imcc, it's a synonym for
'pmc'. it seems undocumented, and i don't see a reason for it--we
already have a word for 'pmc'.

  D:\usr\local\parrot\head>parrot -
  .sub main
  .local pmc object
  .end
  ^Z
  error:imcc:syntax error, unexpected OBJECTV, expecting IDENTIFIER
          in file '-' line 2


sure enough, i can create a '.local object foo':

  D:\usr\local\parrot\head>parrot -
  .sub main
  .local object foo
  foo = new 'String'
  foo = 'bar'
  say foo
  .end
  ^Z
  bar


i suggest we deprecate 'object'.
~jerry

Reply via email to