pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/AssemblyScript/assemblyscript/commit/5a125c75a6edf34dee77609b6654c17fd61c8ada

thub.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> fix: check native source correctly (#2967) · AssemblyScript/assemblyscript@5a125c7 · GitHub
Skip to content

Commit 5a125c7

Browse files
authored
fix: check native source correctly (#2967)
1 parent 3daa41b commit 5a125c7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ast.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
CommonFlags,
1919
PATH_DELIMITER,
2020
LIBRARY_PREFIX,
21-
LIBRARY_SUBST
2221
} from "./common";
2322

2423
import {
@@ -1668,7 +1667,7 @@ export class Source extends Node {
16681667

16691668
/** Checks if this source represents native code. */
16701669
get isNative(): bool {
1671-
return this.internalPath == LIBRARY_SUBST;
1670+
return this == Source._native;
16721671
}
16731672

16741673
/** Checks if this source is part of the (standard) library. */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy