PlatformStaticGenerator reworked to use FunctionCodegen.generateMethod()
This commit is contained in:
@@ -17,5 +17,10 @@
|
||||
package org.jetbrains.jet.lang.descriptors;
|
||||
|
||||
public interface SourceElement {
|
||||
SourceElement NO_SOURCE = new SourceElement() { };
|
||||
SourceElement NO_SOURCE = new SourceElement() {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NO_SOURCE";
|
||||
}
|
||||
};
|
||||
}
|
||||
+1
-1
@@ -92,7 +92,7 @@ public class SimpleFunctionDescriptorImpl extends FunctionDescriptorImpl impleme
|
||||
getAnnotations(),
|
||||
getName(),
|
||||
kind,
|
||||
SourceElement.NO_SOURCE
|
||||
getSource()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user