From bb1c2bef5f5bd5f184df484a98ced69796c4409e Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Fri, 24 Jul 2009 22:32:40 +0200 Subject: [PATCH] initial NYI.pm implementation This commit introduces some code/constant duplication; my attempts to factor it out into a lexical sub or a lexical variable holding a block were not successful - there former aren't found (see RT #67868), the latter produce Null PMC access in invoke() --- build/Makefile.in | 1 + src/setting/NYI.pm | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 src/setting/NYI.pm diff --git a/build/Makefile.in b/build/Makefile.in index db7758573ee..28a8266b9e5 100644 --- a/build/Makefile.in +++ b/build/Makefile.in @@ -129,6 +129,7 @@ SETTING = \ src/setting/List.pm \ src/setting/Match.pm \ src/setting/Num.pm \ + src/setting/NYI.pm \ src/setting/Object.pm \ src/setting/Operators.pm \ src/setting/Pair.pm \ diff --git a/src/setting/NYI.pm b/src/setting/NYI.pm new file mode 100644 index 00000000000..1c854e453e4 --- /dev/null +++ b/src/setting/NYI.pm @@ -0,0 +1,14 @@ +multi caller(){ + die 'caller() is not yet implemented in Rakudo, sorry'; +} +multi context(){ + die 'context() is not yet implemented in Rakudo, sorry'; +} +multi want(){ + die 'want() is not yet implemented in Rakudo, sorry'; +} +multi runinstead(){ + die 'runinstead() is not yet implemented in Rakudo, sorry'; +} + +# vim: ft=perl6