Daniel Silva

Results 32 comments of Daniel Silva

@bwestergard How about this? ```typescript import { reify } from 'flow-runtime'; import type { Type } from 'flow-runtime'; const user = (reify: Type).assert(json); ``` You'll need to apply the babel...

@kageiit Thanks for following up. I filed https://github.com/facebook/buck/issues/1898

To avoid requests like this in the future, it might be useful to setup auto-releases as in https://github.com/scala/scala-async/issues/205

Is there a workaround other than registering a jackson module similar to DefaultScalaModule but without ScalaAnnotationIntrospectorModule? Something like this? ```scala // avoid DefaultScalaModule (and ScalaAnnotationIntrospectorModule) per this bug: // https://github.com/FasterXML/jackson-module-scala/issues/326...

Additional use cases from https://github.com/awslabs/aws-cdk/issues/1133 - synthesizing stacks from an IDE debugger and embedding into JVM build systems (like Gradle) without having to shell out to a CLI that depends...

I've been using this: ```scala def enumType[T EnumValue(item.name, value = item))) implicit val someJavaEnumType: EnumType[SomeJavaEnum] = enumType(SomeJavaEnum.values) ``` Still runtime lookup of `SomeJavaEnum.values()` though.

Does it break expectations from library authors when transitive dependencies aren't exposed in the compile classpath for compile-scoped Maven publications? For example, if a library author publishes a library with...

Maybe the same problem for `com.oracle.substratevm:svm:19.2.0.1`: ``` external/maven/BUILD:509:11: in deps attribute of jvm_import rule @maven//:org_graalvm_truffle_truffle_nfi: rule '@maven//:org_graalvm_truffle_truffle_nfi_native_darwin_amd64_tar_gz' does not exist external/maven/BUILD:509:11: in deps attribute of jvm_import rule @maven//:org_graalvm_truffle_truffle_nfi: rule '@maven//:org_graalvm_truffle_truffle_nfi_native_linux_amd64_tar_gz'...

I asked a similar question on the scala gitter channel today about how implicits handle this: https://gitter.im/scala/scala?at=5a280d2e3ae2aa6b3f93a3ab