Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: sky/engine/bindings/scripts/dart_interface.py

Issue 936563002: Make tests/clipping/canvas-rounded-corners.sky actually run. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/css/CSS.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/scripts/dart_interface.py
diff --git a/sky/engine/bindings/scripts/dart_interface.py b/sky/engine/bindings/scripts/dart_interface.py
index 0b21bf4613641d95ee9f6c701245c664b986204f..0b0223fa7167097ecc76d4ef6461c4a3fc5289aa 100644
--- a/sky/engine/bindings/scripts/dart_interface.py
+++ b/sky/engine/bindings/scripts/dart_interface.py
@@ -169,6 +169,9 @@ def interface_context(interface):
# For overloaded methods, only generate one accessor
('overload_index' not in method or method['overload_index'] == 1))
+ for method in methods:
+ assert 'overloads' not in method, 'Dart does not support overloads, %s in %s' % (method['name'], interface.name)
+
generate_method_native_entries(interface, methods, 'Method')
context.update({
« no previous file with comments | « no previous file | sky/engine/core/css/CSS.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698