mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
always return the value when we intercept on a setter. Has no effect, but it does get rid of an annoying warning.
This commit is contained in:
parent
8a7965c6e5
commit
cfc12665b8
1 changed files with 2 additions and 0 deletions
|
@ -123,8 +123,10 @@ module V8
|
|||
methods = obj.public_methods(false).map {|m| m.to_s}
|
||||
if methods.include?(perl_name)
|
||||
obj.send(perl_name, To.rb(value))
|
||||
value
|
||||
elsif methods.include?(camel_name)
|
||||
obj.send(camel_name, To.rb(value))
|
||||
value
|
||||
else
|
||||
C::Empty
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue