commit nqp for openSUSE:Factory
Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2017-07-30 11:27:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nqp" Sun Jul 30 11:27:05 2017 rev:21 rq:513002 version:2017.07 Changes: -------- --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2017-06-18 13:50:38.948634412 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new/nqp.changes 2017-07-30 11:27:25.485016111 +0200 @@ -1,0 +2,30 @@ +Sat Jul 29 10:21:00 CEST 2017 - nine@detonation.org + +- update to version 2017.07 + * Add mapping of the op code get_port_sk + * Rename get_port -> getport + * Kill of nqp::getcfh. + * Give NQP a basic file handle class and use it instead of low level ops. + * Update profile dumper to use new handles. + * Add a way to get NQP wrapped standard handles. + * There is no die in NQP; it's nqp::die. + * Un-map the char-level I/O ops for MoarVM. + * Add :$all to methods() for Perl 6 compatability + * [unicode-grant] Update QASTRegexCompilerMAST to use new indexicim and eqaticim ops + * Start conveying decont context in QAST -> MAST. + * Do not add condition leading '0' if already present + * Add .gist method to NQPRoutine + * Map setbuffersizefh op. + * add refine_slang to automatically do mixins + * Un-map deprecated sync proc ops for MoarVM. + * Map nqp::permit op on MoarVM backend. + * Remove now-unused MoarVM lexotic of compilation. + * Factor out part of compile for easier re-use. + * Attach the match (for file positions etc.) to the QAST properly + * Fix handling of actions in .refine_slang + * Map decodertakecharseof op on MoarVM backend. + * Exclude empty messages from check +- Backport fix for --ll-exception in nqp-fix-ll-exception.diff which was committed + right after the release. + +------------------------------------------------------------------- Old: ---- nqp-2017.05.tar.gz New: ---- nqp-2017.07.tar.gz nqp-fix-ll-exception.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nqp.spec ++++++ --- /var/tmp/diff_new_pack.U6WRCR/_old 2017-07-30 11:27:26.284903242 +0200 +++ /var/tmp/diff_new_pack.U6WRCR/_new 2017-07-30 11:27:26.292902114 +0200 @@ -17,15 +17,16 @@ Name: nqp -Version: 2017.05 +Version: 2017.07 Release: 1.1 Summary: Not Quite Perl License: Artistic-2.0 Group: Development/Languages/Other Url: http://rakudo.org/ Source: nqp-%{version}.tar.gz +Patch1: nqp-fix-ll-exception.diff BuildRequires: moarvm-devel -Requires: moarvm >= 2017.05 +Requires: moarvm >= 2017.07 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,6 +35,7 @@ %prep %setup -q +%patch1 -p1 %build perl Configure.pl --backends=moar --libdir=%{_libdir} --prefix=%{_usr} --with-moar=/usr/bin/moar ++++++ nqp-2017.05.tar.gz -> nqp-2017.07.tar.gz ++++++ ++++ 10745 lines of diff (skipped) ++++++ nqp-fix-ll-exception.diff ++++++ commit c0abee7953ac7d6f090ccf4a762f6de5fc85ca70 Author: Stefan Seifert <nine@detonation.org> Date: Thu Jul 20 20:53:12 2017 +0200 Fix --ll-exception trying to print a NULL Need to use isnull_s for strings and look for the .message method on the exception payload instead of the BOOTException. diff --git a/src/HLL/Compiler.nqp b/src/HLL/Compiler.nqp index 6a66368ff..ddcc3e442 100644 --- a/src/HLL/Compiler.nqp +++ b/src/HLL/Compiler.nqp @@ -328,8 +328,9 @@ class HLL::Compiler does HLL::Backend::Default { if %adverbs<ll-exception> || !nqp::can(self, 'handle-exception') { my $err := stderr(); my $message := nqp::getmessage($error); - if nqp::isnull($message) && nqp::can($error, 'message') { - $message := $error.message; + my $payload := nqp::getpayload($error); + if nqp::isnull_s($message) && nqp::can($payload, 'message') { + $message := $payload.message; } $err.say($message); $err.say(nqp::join("\n", nqp::backtracestrings($error)));
participants (1)
-
root@hilbert.suse.de