// ERROR: Unsupported [Dynamic types are not supported in this context] fun foo() { fun bar(c: () -> T, f: () -> dynamic): Unit {} bar({ val a = 1 Unit }) { val a = 1 Unit } }