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 59a1ef8 commit b0ed369Copy full SHA for b0ed369
src/compiler.ts
@@ -1574,8 +1574,8 @@ export class Compiler extends DiagnosticEmitter {
1574
/** Force compilation of stdlib alternative if a builtin. */
1575
forceStdAlternative: bool = false
1576
): bool {
1577
- if (instance.is(CommonFlags.Compiled)) return !instance.is(CommonFlags.Errored);
1578
if (instance.is(CommonFlags.Errored)) return false;
+ if (instance.is(CommonFlags.Compiled)) return true;
1579
1580
if (!forceStdAlternative) {
1581
if (instance.hasDecorator(DecoratorFlags.Builtin)) return true;
0 commit comments