Merge pull request #323 from ratfactor/issue318

Issue318
This commit is contained in:
Chris Boesch 2023-06-11 23:54:05 +02:00 committed by GitHub
commit 9c9671bb15

View file

@ -28,7 +28,7 @@ const Schooner = struct {
mainmast_height: u32 = 95,
fn scaleMe(self: *Schooner, comptime scale: u32) void {
var my_scale = scale;
comptime var my_scale = scale;
// We did something neat here: we've anticipated the
// possibility of accidentally attempting to create a