Norbert Schultz

Results 13 comments of Norbert Schultz

Seems like you have to add the gen idea plugin to your project/plugins.sbt: // place a newline in here addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.4.0")

I have the same problem, did you found a solution yet?

I had good experiences with smbios-thermal-ctl to reduce the noise, especially when connected to a docking station like wd19tb. Also see https://github.com/JackHack96/dell-xps-9570-ubuntu-respin/issues/28 (Somehow connecting to a docking station changed the...

IMHO this can only work if getting current time, and waiting for somehting comes together, e.g. ``` class Clock { // Returns simulated time def currentTime: Instant // Wait for...

I think it depends on the test scope. But if `wait` immediately returns and stores advanced time, it should work for some reasons. For "smaller tests" this could already be...

I see two alternatives in your example - We wait a minimal time (like 5ms), so that a parallel thread can check exit-assumptions, but that wouldn't be very good unit...

@scf37 this sounds more or less like mocking of the clock for me, so that the test itself is capable of releasing waits. This is a perfect use case for...

Hi, I stumbled on the same problem when generating Macros for some RPC Service. Here is a minimal crashing example: https://github.com/nob13/dottybug13955 using Scala 3.2.1 The crashing line is the `val`...

Note: Declaring value using `ValDef.let` works. Maybe `val` shouldn't be present in Quotes?

Update: The problem was a missing `given Quotes = decl.asQuotes`, which can be shown when `-Xcheck-macros` is activated. Updated the referenced Github Example, this works now.