Re: [heycam/webidl] feat: Rename numeric types to match Rust/WASM (#856)

ExE-Boss commented on this pull request.



> -          Promise<void> delay(unrestricted double ms);
+          Promise<void> delay(unrestricted f64 ms);

We could probably merge this as‑is, since this PR also defines "aliases" for:

```webidl
// Not actually implemented using `typedef`s, this is just for illustration:
typedef (i8) byte;
typedef (i16) short;
typedef (i32) long;
typedef (i64) long long;

typedef (u8) octet;
typedef (u16) unsigned short;
typedef (u32) unsigned long;
typedef (u64) unsigned long long;

typedef (f32) float;
typedef (unrestricted f32) unrestricted float;
typedef (f64) double;
typedef (unrestricted f64) unrestricted double;
```

-- 
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/856#discussion_r393803945

Received on Tuesday, 17 March 2020 16:21:57 UTC