Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dotnet] remove extraneous 'return'
  • Loading branch information
diakopter committed Nov 17, 2010
1 parent 72c91f0 commit 8c7d903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/NQP/NQPSetting.pm
Expand Up @@ -744,7 +744,7 @@ my knowhow NQPAttribute {
if $!has_accessor {
if $!has_mutator {
$obj.HOW.add_method($obj, $short_name, method ($val?) {
return nqp::repr_defined($val)
nqp::repr_defined($val)
?? nqp::bind_attr(self, $obj.WHAT, $long_name, $val)
!! nqp::get_attr(self, $obj.WHAT, $long_name);
});
Expand Down

0 comments on commit 8c7d903

Please sign in to comment.