refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now)

This commit is contained in:
James Strachan
2012-03-03 12:11:06 +00:00
parent 4a53e468fe
commit eb3aac9acb
162 changed files with 454 additions and 324 deletions
@@ -182,7 +182,7 @@ public class GenerationState {
final ClassFileFactory factory = getFactory();
List<String> files = factory.files();
for (String file : files) {
// if (!file.startsWith("std/")) {
// if (!file.startsWith("kotlin/")) {
answer.append("@").append(file).append('\n');
answer.append(factory.asText(file));
// }
@@ -72,7 +72,7 @@ public class IntrinsicMethods {
myProject = project;
myStdLib = stdlib;
namedMethods.put("\"std.javaClass.function\"", new JavaClassFunction());
namedMethods.put("\"kotlin.javaClass.function\"", new JavaClassFunction());
List<String> primitiveCastMethods = OperatorConventions.NUMBER_CONVERSIONS.asList();
for (String method : primitiveCastMethods) {