JS backend: make MutableMap.set as function intrinsic.

Fixed test WebDemoExamples2Test#builder.
This commit is contained in:
develar
2013-08-06 17:24:48 +04:00
committed by Zalim Bashorov
parent 63a72b1095
commit f1c258f601
5 changed files with 55 additions and 31 deletions
+4
View File
@@ -2,6 +2,10 @@ package java.util
import java.lang.*
/** Provides [] access to maps */
native
public fun <K, V> MutableMap<K, V>.set(key: K, value: V): Unit = noImpl
library("collectionsMax")
public fun max<T>(col : Collection<T>, comp : Comparator<T>) : T = js.noImpl