aboutsummaryrefslogtreecommitdiff
path: root/tests/webidl/test.idl
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-05-14 13:17:13 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-05-14 13:17:13 -0700
commitd470387f096d6427720a9c8a61776fa3d276683e (patch)
tree83e0d3a798308ca139983a621ad96a19c0ecf60b /tests/webidl/test.idl
parentb915f42db8e2b454b8b07e0eb7f8a176fefdc534 (diff)
allow overriding functions with the same name in the parent in webidl binder
Diffstat (limited to 'tests/webidl/test.idl')
-rw-r--r--tests/webidl/test.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/webidl/test.idl b/tests/webidl/test.idl
index 98ab5070..6d87d5e3 100644
--- a/tests/webidl/test.idl
+++ b/tests/webidl/test.idl
@@ -5,12 +5,14 @@ interface Parent {
void Parent(long val);
long getVal();
void mulVal(long mul);
+ void parentFunc();
};
interface Child1 {
void Child1(optional long val);
long getValSqr(optional long more);
long getValTimes(optional long times=1);
+ void parentFunc(long x); // redefinition, name collides with parent
};
Child1 implements Parent;