Patrick Böker

Results 41 issues of Patrick Böker

What should happen when a LEAVE phaser contains a `return` statement? Given these four snippets, what should each of those print? 1. sub s() { LEAVE return 5; return 7;...

language

This is a follow up of https://github.com/rakudo/rakudo/issues/5141 and https://github.com/rakudo/rakudo/pull/5158 Consider the following piece of code: ``` my $p = Promise.new; my $s1 = supply { await $p; say "processing whenever"...

language

This module installs all it's `.pm` files into the $archname folder. In my case that's `/usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux/`. Since this module contains a pure-perl parser and works fine without the XS library...

Calling `&return` triggers a stack unwind which can cause code (e.g. in `LEAVE` phasers) to run. That code can also call `&return`. The returns conflict, if the later return unwinds...

``` enum E ; role R { has $.e = one; method m() { say $!e === one; # False } } R.new.m; ``` The above prints `False`, but should...

tests committed
Fixed in RakuAST

The test fails on current rakudo. So before merging we'll need to add a respective fudge.

Depends on https://github.com/rakudo/rakudo/pull/5604

- Only Linux, others tbd - A minimal Async task prog works ~~, but the program close callback does not hit. To be debugged.~~ - Loads of todos. - Needs...

``` $ zef --version 0.22.2 $ raku --version Welcome to Rakudo™ v2024.08-61-g54e538c06. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2024.08-9-g570db2612. $ cat META6.json { "name": "Terminal::LineEditor", "version":...