mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Fix is_null_or_undefined() call in codegen to be snake_case.
After a bit of digging, I couldn't find when it was camelCase. This started getting generated when I added an overload in webgl.
This commit is contained in:
parent
c6f73a612a
commit
d90499ab35
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ class CGMethodCall(CGThing):
|
|||
return False
|
||||
|
||||
# First check for null or undefined
|
||||
pickFirstSignature("%s.isNullOrUndefined()" % distinguishingArg,
|
||||
pickFirstSignature("%s.get().is_null_or_undefined()" % distinguishingArg,
|
||||
lambda s: (s[1][distinguishingIndex].type.nullable() or
|
||||
s[1][distinguishingIndex].type.isDictionary()))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue