diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 82ea280bc0f..8501fe116ab 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,50 +15,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -235,15 +192,6 @@ - - - - - - - - - @@ -289,10 +237,19 @@ - + - + + + + + + + + + + @@ -443,7 +400,6 @@ @@ -1202,7 +1159,7 @@ - + @@ -1246,7 +1203,7 @@ @@ -1293,20 +1250,6 @@ - - - - - - - - - - - - - - @@ -1400,7 +1343,21 @@ - + + + + + + + + + + + + + + + diff --git a/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java b/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java index ee754ab7122..9ba86743f4f 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java +++ b/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java @@ -90,9 +90,9 @@ public final class StandardClasses { standardClasses.declareTopLevel(arrayClass, "Array"); FunctionDescriptor nullConstructorFunction = getFunctionByName(standardLibrary.getLibraryScope(), "Array"); standardClasses.declareTopLevel(nullConstructorFunction, "array"); -// PropertyDescriptor sizeProperty = -// getPropertyByName(arrayClass.getDefaultType().getMemberScope(), "size"); -// standardClasses.declareInner(sizeProperty, "size"); + PropertyDescriptor sizeProperty = + getPropertyByName(arrayClass.getDefaultType().getMemberScope(), "size"); + standardClasses.declareInner(sizeProperty, "size"); PropertyDescriptor indices = getPropertyByName(arrayClass.getDefaultType().getMemberScope(), "indices"); standardClasses.declareInner(indices, "indices"); }