Brian M Johnson

Results 12 issues of Brian M Johnson

### Bug description When running the code snippets linked below in the [Mojo Playground](https://docs.modular.com/mojo/playground), I get the following errors: `__floordiv__` code: ``` /source/prog.mojo:2:20: error: 'object' does not implement the '__floordiv__'...

bug
good first issue
mojo-stdlib
mojo

### Bug description I was testing return value optimization in Mojo when I ran into some unexpected behaviour. For the first snippet linked below, the compiler is able to optimize...

bug
mojo
mojo-repo

### Bug description Mojo aims to provide copy-on-write semantics, so programmers do not have to pay a price to reassign data if no mutation occurs. However, in the snippet linked...

bug
mojo

### Bug description The two last code snippets in the [Blocks and statements](https://docs.modular.com/mojo/manual/basics#blocks-and-statements) section cannot be formatted in Mojo. They give error messages while trying to format: ``` error: cannot...

bug
mojo-repo
Initiative: Format

### Bug description When running the code snippets linked below, I got compile errors along with stack traces. They all looked similar to this: ``` mojo: /__w/modular/modular/third-party/llvm-project/llvm/include/llvm/Support/Casting.h:566: decltype(auto) llvm::cast(const From...

bug
mojo-repo

Fixes #2237 for `reduce`-like functions in simd.mojo: - Adds documentation for constraint on value of `size_out` not exceeding width of input vector in `reduce_add`, `reduce_mul`, `reduce_max` and `reduce_min`. Signed-off-by: Brian-M-J

merged-internally
mojo-repo

Fix various typos in the Mojo Manual: `functions.ipynb`: - Changed "matter personal taste" to "matter of personal taste" - Changed "Current there are some differences" to "Currently there are some...

Currently, the Mojo documentation assumes that the reader is already familiar with system programming concepts. This makes it harder for new and new-ish programmers to understand how to use the...

This PR adds a few typo/grammar fixes to `docs/changelog.md`: - Changed "the sequence must be a parameter value and the induction variables are also parameter values in that sequence" to...

imported-internally
merged-internally