Benjamin Klum

Results 365 comments of Benjamin Klum

> I'm working on MIDI functions, and can not make integration test fail by `assert!` macros. > > If I'm directly using `panic!` it fails, but with literally wrong `assert_eq!("one...

Thanks Gavin! That could be a solution. Just would need to make sure that the function doesn't do anything with the GUI, otherwise this could lead to flickering.

This will be in 2.16.0-pre.15 The way it works: - When switching auto-load mode on, ReaLearn captures the currently active preset as "fallback preset". - Whenever no FX is focused...

@super-frais @dna598 This is available now in today's released 2.16.0-pre.15. Check it out!

@super-frais @dna598 Guys, this has been out for a while. Does it work for you? A quick feedback would be nice. Before the final release, if possible 😁

I think the following bug belongs to the same category? This works: ```lua --!strict type MyTaggedUnion = VariantA | VariantB type VariantA = { discriminator: "A", a: number } type...

Addition: I have the feeling that it would be hard doing something special *just for Copy types*. If this is too hard or even impossible, adding the const getter just...

Here's a prototypical implementation that adds `pub const fn get(self) -> #inner_type` if the newtype itself derives `Copy`. What do you think about this approach? I could turn it into...

Ok, I understand. I hope to open a PR soon.