This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Description
Expected Behavior
Should be able to define a KotlinClosure1
like this:
KotlinClosure1<Exception?, Unit> ({
// Do something
}
Current Behavior
Compiler error:
MessageBroker.gradle.kts:46:30: Type argument is not within its bounds: should be subtype of 'Any'
Your Environment
------------------------------------------------------------
Gradle 4.3.1
------------------------------------------------------------
Build time: 2017-11-08 08:59:45 UTC
Revision: e4f4804807ef7c2829da51877861ff06e07e006d
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_92 (Oracle Corporation 25.92-b14)
OS: Mac OS X 10.12.6 x86_64