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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user