Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 945f4aa commit 785e30aCopy full SHA for 785e30a
src/libasr/pickle.cpp
@@ -52,13 +52,13 @@ class ASRPickleVisitor :
52
}
53
void visit_Module(const ASR::Module_t &x) {
54
if (!show_intrinsic_modules &&
55
- startswith(x.m_name, "lfortran_intrinsic_")) {
+ (x.m_intrinsic || startswith(x.m_name, "numpy"))) { // Divergence between LFortran and LPython
56
s.append("(");
57
if (use_colors) {
58
s.append(color(style::bold));
59
s.append(color(fg::magenta));
60
61
- s.append("IntrinsicModule");
+ s.append(x.m_intrinsic ? "IntrinsicModule" : "Module"); // Divergence between LFortran and LPython
62
63
s.append(color(fg::reset));
64
s.append(color(style::reset));
0 commit comments