IGI-111
IGI-111
There doesn't seem to be a reason `render_frame` takes ownership of the track. I need this to render whole files using the safe wrapper without needing to reparse sub files...
A reliable way to wait on the scan to be done would be nice too, probably already doable by waiting on the right event. Having the specific result of that...
`StorageKey`'s `read` and `try_read` are confusing, notably because of errors related to uninitialized storage. `try_read` should be the default behavior and there should be extensive documentation of what happens with...
Make modules private and implement reexports according to the [RFC](https://github.com/FuelLabs/sway-rfcs/blob/master/rfcs/0008-private-modules.md). As suggested we may want this behind an experimental flag at first and issue warnings if it's off, as it...
As explained in [this TODO](https://github.com/FuelLabs/sway/blob/8d467e6bde0089138320b2ec6d200eff1fc0f08f/sway-core/src/type_system/ast_elements/trait_constraint.rs#L136), generic types are not available in trait constraints yet because of a chicken-and-egg issue with the way we type check type parameters. This will have...
We should follow [the same conventions as Rust](https://doc.rust-lang.org/reference/items/associated-items.html#associated-types) excluding GATs. This is crucial for many other features including iterators.
We currently don't limit implementation of types from outside your package so you can even do something like: ```sway library; impl u64 { pub fn foo() {} } ``` We...
All struct fields are currently public, we should introduce privacy specifiable with `pub` and make fields private by default.
Shadowing constants is forbidden, but the compiler will currently give an unhelpful error message like so: ``` The name `VAL` is defined multiple times ``` We should give a clearer...
Tracking issue for https://github.com/FuelLabs/sway-rfcs/blob/master/rfcs/0010-references.md * References * [ ] References and mutability * [x] Immutable references to immutable values * [x] Mutable references to immutable values * [ ] Immutable...