Niles Salter
Niles Salter
This PR offloads the `Promise.delay` function onto the Roblox Engine's thread scheduler via `task.delay`
The `UpdateMaxCounts` function updates the `termFrequencyCountChildMax` field, which is also the field by which the `Node.Children` Lists are sorted. Since the `sort` call comes before the `UpdateMaxCounts` call in the...
### Version 0.1.13 ### Platform ```Linux 5be22774b6dc 5.19.0-76051900-generic #202207312230~1660780566~22.04~9d60db1 SMP PREEMPT_DYNAMIC Thu A x86_64 x86_64 x86_64 GNU/Linux``` ### What steps will reproduce the bug? ``` bun create blank ./_newest_test cd...
### Version 0.1.13 ### Platform ```Linux 5be22774b6dc 5.19.0-76051900-generic #202207312230~1660780566~22.04~9d60db1 SMP PREEMPT_DYNAMIC Thu A x86_64 x86_64 x86_64 GNU/Linux``` ### What steps will reproduce the bug? ```bash bun create blank ./_new_test cd...
### Version 0.1.13 ### Platform ``` Linux 5be22774b6dc 5.19.0-76051900-generic #202207312230~1660780566~22.04~9d60db1 SMP PREEMPT_DYNAMIC Thu A x86_64 x86_64 x86_64 GNU/Linux ``` ### What steps will reproduce the bug? This only happens on...
Fixes #1185 - Environment values are no longer improperly coerced to `undefined`/`null`/`true`/`false`/`1`/`0` - `bunfig.toml` macros should still work the same. - Empty string environment values (e.g. `> QUIET= bun dev`)...
[Playground link](https://roblox-ts.com/playground/#code/CYUwxgNghgTiAEYD2A7AzgF0QCwJYWDhQC54BBGGKATwB4BJdDKFMEAPgG4BYAKAhBYkpAN7wA2gGsQ1Uphi4UAcwC6pAK4pJKJAHcU8AL7wAvPBGGevPgDMkMeAApkTHPmDwkNtwSIBKPgBIMDwCADp6NDJHACIANSgIdRAAISg0EBiA3kDAgH5PcRD3MIA5KABbEBVTH2AwhKSQIMDSYvDI6JiAYVQbXCV1KgxcVCz4ADIJpyQi0PryqpqzdvqAcUEAMXUICEWQRz8-TiA) ```ts declare const children: Array; let o: { [key: string]: unknown } = {}; for (const child of children) child.IsA("ValueBase") ? o[child.Name] = child.Value : child.IsA("Configuration") && (o[child.Name]...
```ts function foo() { return bar(); function bar() { return "Hello, world!"; } } ``` Compiles to: ```lua -- Compiled with roblox-ts v1.3.3 local function foo() local bar return bar()...