Victor Ermolaev

Results 12 comments of Victor Ermolaev

@tschuchortdev @yigit Cannot say whether it is helpful, but here is the (extremely suboptimal) code for the approach @mvdbos mentioned ```kotlin object KSPRuntimeCompiler { fun compile(compilation: KotlinCompilation): KotlinCompilation.Result { val...

For those facing a similar problem, I ended up matching the full class and then process parameters of the constructor and do the full class reconstruction with the altered contructor.

Great! the ultimate test is of course a possibility to include both ``` kzen-curv = 0.9.0 dsa = 0.3.0 ``` as deps in the same project.

maintainers, don't you think the crate deserves a version bump to 0.9.1 or something? The problem addressed by this PR still exists for ``` curv-kzen = "0.9.0" dsa = "0.4.0"...

@DenisKolodin I do not think it's correct to compare Elm and Typescript (or Flow). While the former is a full-blown language targeting web that gets transpiled to JS (much like,...

@slava110, I guess you can already achieve the goal as follows ```kotlin @SerialInfo @Target(AnnotationTarget.PROPERTY) annotation class SerialComment(val comment: String) fun SerialDescriptor.getElementComment(index: Int): String = getElementAnnotations(index) .filterIsInstance() .singleOrNull() ?.comment ?: ""...

Indeed, I have faced a similar and more extended version of this problem. I came up with the following workaround for my particular case: ```rust fn setup(rt: &runtime::Runtime) -> u64...

Hi @thomaseizinger I want to address this; my initial thought goes as follows. Immediately after https://github.com/libp2p/rust-libp2p/blob/master/swarm/src/lib.rs#L438 I want to add the following filtering: ```rust let dial_address_errors = dial_opts .get_addresses() .iter()...

I planned to introduce a new error variant in `DialError` and return all erroneous addresses in that variant. The presented code snippet does exactly that, albeit skips the introduction of...

Hey @thomaseizinger I've implementing filtering and then got to testing and I found this test [`multiple_addresses_err`](https://github.com/libp2p/rust-libp2p/blob/master/swarm/src/lib.rs#L2237). The test lists addresses that should produce connection errors ```rust let addresses = HashSet::from([...