mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
Upgrade to rustc 0.8-pre (0ac3e02 2013-08-30 05:45:45 -0700)
This commit is contained in:
parent
7ea10ff8af
commit
0c726b4581
11 changed files with 30 additions and 24 deletions
|
@ -1247,10 +1247,10 @@ for (uint32_t i = 0; i < length; ++i) {
|
|||
dataLoc = "${declName}"
|
||||
#XXXjdm conversionBehavior should be used
|
||||
template = (
|
||||
"match JSValConvertible::from_jsval::<%s>(${val}) {\n"
|
||||
"match JSValConvertible::from_jsval(${val}) {\n"
|
||||
" None => return 0,\n"
|
||||
" Some(v) => %s = v\n"
|
||||
"}" % (typeName, dataLoc))
|
||||
"}" % (dataLoc,))
|
||||
declType = CGGeneric(typeName)
|
||||
if (defaultValue is not None and
|
||||
# We already handled IDLNullValue, so just deal with the other ones
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue