easy: name InstructionKind enum values (#818)

This commit is contained in:
Jan Kassens
2022-11-23 10:48:53 -05:00
parent e51553f5da
commit da6d84049e
+12 -3
View File
@@ -180,9 +180,18 @@ export type LValue = {
};
export enum InstructionKind {
Const, // const declaration
Let, // let declaration
Reassign, // assing a new value to a let binding
/**
* const declaration
*/
Const = "Const",
/**
* let declaration
*/
Let = "Let",
/**
* assing a new value to a let binding
*/
Reassign = "Reassign",
}
/**