aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-01-20 07:08:09 -0800
committerGitHub <noreply@github.com>2017-01-20 07:08:09 -0800
commitbe3f35878af1d9210abc65358c99782c119ceaa6 (patch)
treea04acbce5e164c04bf71db689d2dd3054fb7d848 /components/script/dom/testbinding.rs
parent1f76aa6ef7ec7db0a0c40223874a72e8f4059deb (diff)
parent6a6f339b29907ec0a2a496fe0f477d50c38a3ddc (diff)
downloadservo-be3f35878af1d9210abc65358c99782c119ceaa6.tar.gz
servo-be3f35878af1d9210abc65358c99782c119ceaa6.zip
Auto merge of #15125 - servo:unions-dictionaries, r=nox
Support dictionaries in unions. Fixes #11612. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15125) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r--components/script/dom/testbinding.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs
index 42db5f4a964..4726b82d900 100644
--- a/components/script/dom/testbinding.rs
+++ b/components/script/dom/testbinding.rs
@@ -434,6 +434,7 @@ impl TestBindingMethods for TestBinding {
fn PassUnion6(&self, _: UnsignedLongOrBoolean) {}
fn PassUnion7(&self, _: StringSequenceOrUnsignedLong) {}
fn PassUnion8(&self, _: ByteStringSequenceOrLong) {}
+ fn PassUnion9(&self, _: UnionTypes::TestDictionaryOrLong) {}
fn PassUnionWithTypedef(&self, _: DocumentOrTestTypedef) {}
fn PassUnionWithTypedef2(&self, _: LongSequenceOrTestTypedef) {}
#[allow(unsafe_code)]