Skip to content

Commit bd9bcfd

Browse files
committed
fix(langserver): sometimes an exception in evaluating variables in expressions occurs
1 parent de57e81 commit bd9bcfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/robot/src/robotcode/robot/diagnostics/model_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def iter_expression_variables_from_token(
290290
sub_token.lineno,
291291
sub_token.end_col_offset,
292292
namespace.source,
293-
tokval,
293+
f"${{{tokval}}}",
294294
sub_token,
295295
),
296296
)

0 commit comments

Comments
 (0)