[be] Move Result into Utils/

The `Utils/` folder is meant to be a catch-all for code that doesn't have an 
obvious home in other directories.
This commit is contained in:
Joe Savona
2023-01-31 16:14:23 -08:00
parent e8650951ea
commit df07522b89
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import { NodePath, Scope } from "@babel/traverse";
import * as t from "@babel/types";
import invariant from "invariant";
import { CompilerError, ErrorSeverity } from "../CompilerError";
import { Err, Ok, Result } from "../lib/Result";
import { Err, Ok, Result } from "../Utils/Result";
import { assertExhaustive } from "../Utils/utils";
import {
BlockId,
+1 -1
View File
@@ -1,4 +1,4 @@
import { Err, Ok, Result } from "../lib/Result";
import { Err, Ok, Result } from "../Utils/Result";
function addMax10(a: number, b: number): Result<number, string> {
const n = a + b;