fixed compile errors

This commit is contained in:
James Strachan
2012-05-30 11:30:36 +01:00
parent 75277b0721
commit 782773fca9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -68,11 +68,11 @@ public trait Collection<erased E> : java.lang.Iterable<E> {
}
library
public abstract open class AbstractCollection<erased E> : Collection<E> {
public abstract open class AbstractCollection<erased E>() : Collection<E> {
}
library
public abstract open class AbstractList<erased E> : AbstractCollection<E>, List<E> {
public abstract open class AbstractList<erased E>() : AbstractCollection<E>(), List<E> {
public override fun isEmpty() : Boolean = js.noImpl
public override fun contains(o : Any?) : Boolean = js.noImpl
public override fun iterator() : Iterator<E> = js.noImpl
+1 -1
View File
@@ -7,5 +7,5 @@ import org.w3c.dom.Document
/**
* Provides access to the current active browsers DOM for the currently visible page.
*/
native("document") var document: Document
native("document") var document: Document = null!!