Commit 8e3e8fcc
8e3e8fcc03caMerged
Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 2 files · +1 added · ~1 modified
Description
Merge pull request #244 from mame/pr/attr-writer-returns-rhs
fix(codegen): attr-writer call returns rhs, not 0
Details
- Commit
- 8e3e8fcc03ca
- Parent
- 386c4ba362bc
- Merge parent
- 74e638e9b9dd
spinel_codegen.rbmodifiedView file
@@ -21668,7 +21668,7 @@
2166821668
j = 02166921669
while j < writers.length2167021670
if writers[j] == bname21671-
return "(" + rc + arrow + sanitize_ivar(bname) + " = " + compile_arg0(nid) + ", 0)"21671+
return "(" + rc + arrow + sanitize_ivar(bname) + " = " + compile_arg0(nid) + ")"2167221672
end2167321673
j = j + 12167421674
endtest/attr_writer_returns_rhs.rbaddedView file
Loading diff…