Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
CommonFlags,
PATH_DELIMITER,
LIBRARY_PREFIX,
LIBRARY_SUBST

Check warning on line 21 in src/ast.ts

View workflow job for this annotation

GitHub Actions / Compiler (ubuntu, node lts/*)

'LIBRARY_SUBST' is defined but never used. Allowed unused vars must match /^[A-Z](?:From|To)?$/u

Check warning on line 21 in src/ast.ts

View workflow job for this annotation

GitHub Actions / Compiler (macos, node lts/*)

'LIBRARY_SUBST' is defined but never used. Allowed unused vars must match /^[A-Z](?:From|To)?$/u

Check warning on line 21 in src/ast.ts

View workflow job for this annotation

GitHub Actions / Compiler (ubuntu, node current)

'LIBRARY_SUBST' is defined but never used. Allowed unused vars must match /^[A-Z](?:From|To)?$/u

Check warning on line 21 in src/ast.ts

View workflow job for this annotation

GitHub Actions / Compiler (macos, node current)

'LIBRARY_SUBST' is defined but never used. Allowed unused vars must match /^[A-Z](?:From|To)?$/u
} from "./common";

import {
Expand Down Expand Up @@ -1668,7 +1668,7 @@

/** Checks if this source represents native code. */
get isNative(): bool {
return this.internalPath == LIBRARY_SUBST;
return this == Source._native;
}

/** Checks if this source is part of the (standard) library. */
Expand Down
Loading