Osyris

Results 48 issues of Osyris

`src/foo.ts` and `src/foo.lua` will both become `out/foo.lua`. We should emit warnings in cases like this. For Windows, paths are case insensitive! This means that: - `src/Foo.lua` -> `out/Foo.lua` - `src/foo.ts`...

feature

This code results in the `LuaTuple` value being wrapped in a table twice, which is incorrect. ```TS function foo(value: T): T { return value; } function returnsLuaTuple(): LuaTuple { return...

bug

And ideally any other place where this pops up. [playground link](https://roblox-ts.com/playground/#code/A4JwlgdgLgFAflEBXApgSiA)

bug

![image](https://user-images.githubusercontent.com/9200592/148347096-1495589d-f701-4305-8e35-ce4311d96bdc.png) ...I had forgotten about this. Our current fix is to just apply parentheses to the RHS of a `luau.BinaryExpression` where the current and parent operator precendences are equal. [Which...

feature

https://github.com/roblox-ts/roblox-ts/blob/master/src/TSTransformer/nodes/jsx/transformJsxTagName.ts#L14 1. Start watch mode 2. Install `@rbxts/roact` 3. Make a file with some JSX 4. Crash?

bug

[playground link](https://roblox-ts.com/playground/#code/GYVwdgxgLglg9mABDMBnKBDMsNQKYA8AKongB75gAmqiYeA7ogBQB07GATgOaoBciLAE8A2gF0AlIgC8APkFghs5gChE6xNDicBRADSJ2rLrwEBhBOk4gtnAApcMAWzz5OqYrJUSBASTSYkHhEQgAOhETyAN5qGpyuIJxI9Ey2bBw8qBIA3CoAvioqEAA2GKi0RHjoiDEAkBCWUNZpYCBOAq1OAEZ4nFJ1BQUqKOhYOPjMlegGAKw5KkA)

feature

Right now, we put every macro input into it's own temporary variable in the order they're passed into the function call. This is good for ensuring execution order, but looks...

feature

```TS const components = new CFrame().GetComponents(); // error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter. const cframe = new CFrame(...components);...

bug
blocked

If a user defines `src/foo.ts` and `src/foo.lua`, both files will write to `out/foo.lua`. We can't do much to "fix" this, but we should probably error in this case. Incremental mode...

feature