File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/complex Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2727
2828import com .oracle .graal .python .builtins .objects .object .PythonBuiltinObject ;
2929import com .oracle .graal .python .builtins .objects .type .PythonClass ;
30- import com .oracle .truffle .api .CompilerAsserts ;
30+ import com .oracle .truffle .api .CompilerDirectives . TruffleBoundary ;
3131
3232public final class PComplex extends PythonBuiltinObject {
3333 /* Prime multiplier used in string and various other hashes in CPython. */
@@ -89,8 +89,8 @@ public double getImag() {
8989 }
9090
9191 @ Override
92+ @ TruffleBoundary
9293 public String toString () {
93- CompilerAsserts .neverPartOfCompilation ();
9494 if (Double .compare (real , 0.0 ) == 0 ) {
9595 return toString (imag ) + "j" ;
9696 } else {
You can’t perform that action at this time.
0 commit comments