Skip to content

Commit

Permalink
fix debug
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Oct 25, 2024
1 parent 5dfe867 commit 869e6bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions impls/plpgsql/step2_eval.sql
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ DECLARE
evda0 integer;
result integer;
BEGIN

RAISE NOTICE 'pr_str ast: %', ast;
RAISE NOTICE 'pr_str type: %', (SELECT type_id FROM types.value WHERE value_id = ast);
;
PERFORM io.writeline(format('EVAL: %s [%s] [%s]', mal.PRINT(ast), ast,
(SELECT type_id FROM types.value WHERE value_id = ast)));

CASE type_id FROM types.value WHERE value_id = ast
WHEN 7 THEN RETURN mal.eval_symbol(ast, env);
Expand Down

0 comments on commit 869e6bc

Please sign in to comment.