Re: [heycam/webidl] BREAKING: Convert the `unrestricted` keyword into an extended attribute (#857)

ExE-Boss commented on this pull request.



> +
+    In the following [=IDL fragment=],
+    two [=operations=] are declared that
+    take three {{double}} arguments; one uses
+    the [{{Unrestricted}}] [=extended attribute=]
+    on all three arguments, while the other does not:
+
+    <pre highlight="webidl">
+        [Exposed=Window]
+        interface GraphicsContext {
+          void setColorFloat(double red, double green, double blue);
+          void setColorUnrestrictedFloat([Unrestricted] double red, [Unrestricted] double green, [Unrestricted] double blue);
+        };
+    </pre>
+
+    In an ECMAScript implementation of the IDL, a call to setColor3f with

A leftover from what I used to call the `double`‑taking `setColor` methods before I settled on `setColorDouble`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/857#discussion_r396120891

Received on Sunday, 22 March 2020 17:42:51 UTC