Mazdak Farrokhzad

Results 119 issues of Mazdak Farrokhzad

Work towards https://github.com/AleoHQ/leo/issues/1947.

This primarily relates to how spans are stored. Instead of having e.g., `Expr::Foo(Span, rest)` and `Expr::Bar(Span, rest)`, which unnecessarily complicates code, we should instead store things as `Expr { span:...

refactor

I was hacking on the compiler and I wrote: ```rust // We've rejected overlap in each product in the sum. // Now we must account for the possibility that or-pattern...

Hi there; Interesting library! It seems generally well documented from a user's perspective. However, I found the amount of comments justifying uses of `unsafe { .. }` and `unsafe impl`...

enhancement

The slide: https://steveklabnik.github.io/rust-in-ten-slides/basic-syntax.html#4 should probably mention that the following is not a thing: ```rust fn add (x: i32) -> (y : i32) -> i32 { x + y } ```...

enhancement

I'm trying to move over my server to only allow key authentication and disable passwords; unfortunately, sshfs is my last dependency that doesn't want to play ball. Everything has been...

Fixes https://github.com/FuelLabs/sway/issues/2817.

language server
compiler: frontend

As per https://github.com/FuelLabs/sway/pull/2724#pullrequestreview-1104953282, we need to recover if the user wrote e.g., `let x = ` but did not enter a following expression, or failed to terminate the statement with...

enhancement
language server
compiler: frontend
compiler: parser

Currently, `::foo::bar` means crate-relative. There should be a way, like in Rust, to refer to `foo::bar` where `foo` is the external crate. Though this should probably be part of a...

dependencies
language feature
compiler: frontend

Suppose we have: ```rust library foo; use ::bar::Baz; ``` Then we also have: ```rust library qux; use ::foo::*; ``` It seems like `Baz` is not accessible in `qux`, i.e., re-exports...

bug
P: high
compiler: frontend