Carl Åstholm

Results 28 comments of Carl Åstholm
trafficstars

Locally, I have used patch-package to apply a patch that would be the equivalent of making the following changes to [assetImportMetaUrl.ts](https://github.com/vitejs/vite/blob/9f8d79b9897427882bb7da1bdb7862a15938c865/packages/vite/src/node/plugins/assetImportMetaUrl.ts): ```diff @@ -44,7 +44,14 @@ export function assetImportMetaUrlPlugin(config: ResolvedConfig):...

Does #7837 handle template strings? I will have to build and test it myself later to confirm, but it doesn't seem like that PR changes how template strings are handled.

@Ms2ger I'm just an outside observer so apologies if I'm stating the obvious, but I wanted to point out that this was merged into the `master` branch and not `main`,...

`@round` et al. returning an int of a RLS-inferred type might make sense in situations where the value is known to be in the range of the integer type, but...

When converting a float to an int, there are two interesting questions with regard to behavior that need answering: - What happens when the float is outside the range of...

# Counter proposal I'm splitting my counter proposal up into two parts. The first part directly addresses the original use case of lossily converting a float to an int and...

Repro build.zig: ```zig const std = @import("std"); pub fn build(b: *std.Build) void { const wf = b.addWriteFiles(); const exe = b.addExecutable(.{ .name = "main", .root_source_file = wf.add("main.zig", \\pub const mod1...

@arthurmelton See #9938 (decl literals), which would enable ```zig const a: [0]T = .{}; const a: std.ArrayList(T) = .init(allocator); ```

Anecdote from the point of view of a user: I started writing Zig about a year and a half ago and I distinctly remember that for the week or so...

@jaames Pinging just in case you haven't yet seen this PR.