Replace `import from '.'` with path name
Somehow these imports aren't compatible with builds inside buck.
Jan Kassens committed
Oct 18, 2022 at 13:14 UTC
9524c58486a5bbc3e0e9935df2a48f383e0a5df1
3 files changed
+3
-3
compiler/forget/src/IR/PrettyPrinter.ts
+1
-1
@@ -7,7 +7,7 @@
7
8
import generate from "@babel/generator";
9
import * as t from "@babel/types";
10
-import * as IR from ".";
10
+import * as IR from "../IR";
11
import * as LIR from "../LIR";
12
13
export default function prettyPrint(irFunc: IR.Func) {
compiler/forget/src/IR/ValSnapshot.ts
+1
-1
@@ -6,7 +6,7 @@
6
*/
7
8
import * as t from "@babel/types";
9
-import * as IR from ".";
9
+import * as IR from "../IR";
10
import { dumpNodeLoc } from "../Common/Dumper";
11
12
export class ValSnapshot {
compiler/forget/src/LIR/PrettyPrinter.ts
+1
-1
@@ -8,7 +8,7 @@
8
import generate from "@babel/generator";
9
import * as t from "@babel/types";
10
import invariant from "invariant";
11
-import * as LIR from ".";
11
+import * as LIR from "../LIR";
12
import { assertExhaustive } from "../Common/utils";
13
import * as IR from "../IR";
14
import {