On Wed, 26 Aug 2020 14:31:06 +0200 Marcel Timmerman <mt1...@gmail.com> wrote:
> I was experimenting with extended identifiers and found that it is > not possible to use it in named attributes. E.g. > > > sub a (:$x:y) { say $x:y; } > ===SORRY!=== Error while compiling: > Unsupported use of y///. In Raku please use: tr///. > ------> sub a (:$x:y⏏) { say $x:y; } > > > sub a (:$abc:def) { say $abc:def; } > ===SORRY!=== Error while compiling: > Invalid typename 'def' in parameter declaration. > ------> sub a (:$abc:def⏏) { say $abc:def; } Also:: > sub a( :foo($a:x) ) { say $a:x; } ===SORRY!=== Error while compiling: Unable to parse named parameter; couldn't find right parenthesis ------> sub a( :foo($a⏏:x) ) { say $a:x; } feels like a parse problem to me. I'd say submit a bug report. -- Dakkar - <Mobilis in mobile> GPG public key fingerprint = A071 E618 DD2C 5901 9574 6FE2 40EA 9883 7519 3F88 key id = 0x75193F88