mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-15 22:32:16 +00:00
Try parsing signatures only if node is callable, see #149; Minor refactoring
This commit is contained in:
@@ -34,8 +34,7 @@ import {
|
||||
} from "./parser";
|
||||
|
||||
import {
|
||||
Program,
|
||||
LIBRARY_PREFIX
|
||||
Program
|
||||
} from "./program";
|
||||
|
||||
/** Parses a source file. If `parser` has been omitted a new one is created. */
|
||||
@@ -168,4 +167,4 @@ export function buildTSD(program: Program): string {
|
||||
}
|
||||
|
||||
/** Prefix indicating a library file. */
|
||||
export { LIBRARY_PREFIX };
|
||||
export { LIBRARY_PREFIX } from "./common";
|
||||
|
Reference in New Issue
Block a user