From 00eea30c7b065ca9ada0d1a829fdfb27e39eb039 Mon Sep 17 00:00:00 2001 From: Klaus Date: Mon, 9 Feb 2026 22:21:09 -0300 Subject: [PATCH 1/2] small improvement --- src/slang-nodes/PrefixExpression.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slang-nodes/PrefixExpression.ts b/src/slang-nodes/PrefixExpression.ts index 4f8b15860..52f1f1580 100644 --- a/src/slang-nodes/PrefixExpression.ts +++ b/src/slang-nodes/PrefixExpression.ts @@ -30,7 +30,7 @@ export class PrefixExpression extends SlangNode { this.updateMetadata(this.operand); if (this.operator === 'delete') { - this.operator = `${this.operator} `; + this.operator = 'delete '; } } From 7343ab7ab9cd10db5e7c8d4e9363f635787b6a45 Mon Sep 17 00:00:00 2001 From: Klaus Date: Mon, 9 Feb 2026 22:22:12 -0300 Subject: [PATCH 2/2] extension fix --- src/slang-utils/create-hug-function.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slang-utils/create-hug-function.ts b/src/slang-utils/create-hug-function.ts index f6c0ee24f..64a42363e 100644 --- a/src/slang-utils/create-hug-function.ts +++ b/src/slang-utils/create-hug-function.ts @@ -5,7 +5,7 @@ import { TupleValue } from '../slang-nodes/TupleValue.js'; import { TerminalNode } from '../slang-nodes/TerminalNode.js'; import { isBinaryOperation } from './is-binary-operation.js'; -import type { Expression } from '../slang-nodes/Expression.js'; +import type { Expression } from '../slang-nodes/Expression.ts'; export function createHugFunction( huggableOperators: string[]