From 191964c5a8da1636f0bd09421b8b494fcef47031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bartolom=C3=A4us?= Date: Sat, 8 Oct 2022 21:21:41 +0200 Subject: [PATCH] Reuse $v-how instead of calling HOW again This won't make much of a difference, but I stumbled upon the repeated call to HOW. To me reusing the already computed variable $v-how looks a bit more consistent. --- src/Perl6/World.nqp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Perl6/World.nqp b/src/Perl6/World.nqp index 7aeedaad056..f959f07dc94 100644 --- a/src/Perl6/World.nqp +++ b/src/Perl6/World.nqp @@ -2065,8 +2065,8 @@ class Perl6::World is HLL::World { !$v-how.archetypes($v).coercive && (nqp::can($v-how, 'lang-rev-before') ?? $v-how.lang-rev-before($v, 'e') !! self.lang-rev-before('e')) ?? self.maybe-definite-how-base($v) - !! ($v.HOW.archetypes($v).nominalizable - ?? $v.HOW.nominalize($v) + !! ($v-how.archetypes($v).nominalizable + ?? $v-how.nominalize($v) !! $v) }