Skip to content
Snippets Groups Projects
Commit ddbf2771 authored by Adam Welc's avatar Adam Welc
Browse files

Got back to using == for avoiding infinite recursion during S4 method loading.

parent d1c49095
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ public abstract class LoadMethod extends RBaseNode {
}
}
writeRMethod.execute(frame, fdef);
if ("loadMethod".equals(fname)) {
if ("loadMethod" == fname) {
// the loadMethod function contains the following call:
// standardGeneric("loadMethod")
// which we are handling here, so == is fine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment