Fixed compile error in generated code, when webidl constructors have same number of args

Edited test webidl to show issue, and fix
This commit is contained in:
Peter 2016-02-28 00:33:11 +00:00
parent 875f1e92cc
commit 3e78b54d46
4 changed files with 25 additions and 5 deletions

View file

@ -69,7 +69,9 @@ dictionary TestDictionaryDefaults {
object? nullableObjectValue = null;
};
[Constructor]
[Constructor,
Constructor(sequence<unrestricted double> numberSequence),
Constructor(unrestricted double num)]
interface TestBinding {
attribute boolean booleanAttribute;
attribute byte byteAttribute;