From 8c3ca767b4f4e3a48b8e115410a8ed0cd8e3d377 Mon Sep 17 00:00:00 2001 From: Jonathan Worthington Date: Fri, 19 Nov 2010 23:37:49 +0100 Subject: [PATCH] [common] Need to have a .defined method if we're gonna call one. --- common/NQP/NQPSetting.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/NQP/NQPSetting.pm b/common/NQP/NQPSetting.pm index 5729c6a..aa7b5b0 100644 --- a/common/NQP/NQPSetting.pm +++ b/common/NQP/NQPSetting.pm @@ -789,6 +789,9 @@ my knowhow NQPStash { method bind_key($name, $value) { $!entries.bind_key($name, $value) } + method defined() { + nqp::repr_defined(self) + } } ::GLOBAL := NQPStash.new('GLOBAL');