mirror of
https://github.com/servo/servo.git
synced 2025-06-14 03:14:29 +00:00
commit
2fb8c84bac
1 changed files with 2 additions and 0 deletions
|
@ -2458,6 +2458,8 @@ class CGCallGenerator(CGThing):
|
|||
call = CGWrapper(call, pre="result_fallible = ")
|
||||
elif result is not None:
|
||||
call = CGWrapper(call, pre="result = ")
|
||||
else:
|
||||
call = CGWrapper(call, pre="let _: () = ")
|
||||
|
||||
call = CGWrapper(call)
|
||||
self.cgRoot.append(call)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue