mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Fix a stray unused variable
Travis tests show hundreds of warning for `'y' is defined but never used` and when investigating it looks like a mistake was introduced in 0938858aa during #272, so hopefully this'll be an easy fix!
This commit is contained in:
parent
2694dd4dee
commit
3510b20595
@ -1807,8 +1807,8 @@ impl<'a, 'b> SubContext<'a, 'b> {
|
||||
let target = if let Some(g) = getter {
|
||||
if import.structural {
|
||||
format!(
|
||||
"function(y) {{
|
||||
return this.{};
|
||||
"function() {{
|
||||
return this.{};
|
||||
}}",
|
||||
g
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user