Johannes Link

Results 390 comments of Johannes Link

I installed pandoc through homebrew and tried to generated the documentation. It failed. So I cded to `documentation/build/docs`, which already had `user-guide.md` and executed ``` pandoc --pdf-engine=xelatex -s -o user-guide.pdf...

> It might be an error specific to Mac OS : [jgm/pandoc#7570](https://github.com/jgm/pandoc/issues/7570) it looks like it's a problem with xelatex installation, adding xelatex to the PATH might solve the problem,...

```kotlin class KotlinExperiments { internal fun internalFunction() { } fun functionWithUShortParameter(aShort: UShort) { } @Test fun showNames() { println(this::internalFunction.javaMethod?.name) println(this::functionWithUShortParameter.javaMethod?.name) } } ``` As for internal functions "name mangling" is...

As a temporary workaround test engine maintainers can handle the `MethodSelector` issues in each engine. `MethodSource` however cannot be subtyped due to missing non-private constructor. That's why a MethodSource factory...

If you’re on the Kotlin side you can find out the name through Kotlin‘s own reflection mechanism. The bytecode , however, does not reflect the manipulation, as far as I...

It only matters in a Kotlin project.

Then the test classes are Java classes that don’t have this issue.

> Is the use case here to look up a Kotlin method (from a `MethodSelector`) given its bytecode name? For MethodSelector it’s the other way round: It contains the Kotlin...

Any news on this one? Here's how jqwik currently tries to determine the "real" name of a Kotlin function: ```java public static String javaOrKotlinName(Method targetMethod) { String name = targetMethod.getName();...

To be frank, a full blown PR with all the formatting and style rules of JUnit is a lot of hassle. I can offer a solution sketch (tests included of...