# New Ticket Created by Paweł Pabian # Please include the string: [perl #76236] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76236 >
[13:24] <moritz_> bbkr: spec says that after a } either a newline or a ; is required # this code parses on Rakudo class X { has Int $.id; method BUILD { $.id = 666 } } X.new # but it's not valid according to STD [13:24] <moritz_> std: class X { has Int $.id; method BUILD { $.id = 666 } } X.new [13:24] <p6eval> std 31481: OUTPUT«[31m===[0mSORRY![31m===[0mMethod call found where infix expected (omit whitespace?) at /tmp/KVuVqGABwZ line 1:------> [32mnt $.id; method BUILD { $.id = 666 } } X[33m⏏[31m.new[0m expecting infix or meta-infixParse failedFAILED 00:01 114m» # expected Rakudo complaint about lack of ; or \n after } in class definition