Mason Remaley

Results 33 comments of Mason Remaley

I believe this is caused by [#28794](https://github.com/rust-lang/rust/issues/28794), if I understand correctly it's an issue with the way the Rust compiler generates dylibs. (I think you'd get the same crash in...

> Regarding `&` in ZON... > > You're correct that ZON definitely shouldn't include this. Our main use of ZON today (`build.zig.zon`) already creates variable-length structures without this syntax. To...

Nice thanks! I'll do the rebase and get started on removing & from the syntax when I'm back in town next week.

> By the way, in case you're unfamiliar with the `AstGen` code, you'll just want `try rl.ri.resultType(gz, node) orelse .none` in the corresponding case in `AstGen.builtinCall`. Thanks, I'm not familiar...

> You probably just need to clear your cache directory -- ZIR is cached based on zig version, so if you haven't created a commit with your changes, the compiler...

I'm now starting to use the result type in my code that lowers zon. I'm attempting to inspect a struct type using `Type.structFieldType`, but it's failing because the field types...

Thanks--got it working! The `&` operator is no longer allowed in ZON. When the lowering code recurses through the AST, it checks for each value it's emitting if the result...

I got to the point in my project where I wanna start using ZON, which gave me some good motivation to get through the remaining TODOs I had. This is...

CI is failing due to some changes I made to string and integer literal error handling that incorrectly didn't show notes in some places--will fix later today or tomorrow.