Skip to content

Commit 8086f7f

Browse files
committed
Eradciated pir::setattribute__vppsp, replaced by nqp::bindattr
1 parent 77c5c40 commit 8086f7f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/pir2nqp.todo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pir::const::INTERPINFO_TOTAL_MEM_USED
2626
pir::const::INTERPINFO_TOTAL_PMCS
2727

2828
can be done now by lizmat
29-
pir::setattribute__vppsp -> nqp::bindattr
3029
pir::getattribute__PPPs -> nqp::getattr
3130
pir::getattribute__ppps -> nqp::getattr
3231
pir::set_who__vPP -> nqp::setwho

src/how/NQPAttribute.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ knowhow NQPAttribute {
4444
# my $method := nqp::substr($long_name, 1);
4545
# unless has_method($obj, $method, 0) {
4646
# $obj.HOW.add_method($obj.WHAT, $method, method ($value?) {
47-
# pir::setattribute__vppsp(self, $obj.WHAT, $long_name, $value)
47+
# nqp::bindattr(self, $obj.WHAT, $long_name, $value)
4848
# if nqp::defined($value);
4949
# pir::getattribute__ppps(self, $obj.WHAT, $long_name);
5050
# }

0 commit comments

Comments
 (0)