Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

The REPL tool refuses code that declares a function in a block that calls eval

The REPL tool now rejects code that declares a function inside a block that also calls eval, and explains how to fix it

You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
REPLArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release
What

The REPL tool is where Claude runs code step by step. It now checks code before running it. If a function is declared inside a block of code that also calls eval (a command that runs a piece of text as code), the tool stops with an error.

The error names the function and ends: "REPL can't run eval. Remove the call, or declare the function outside the block."

Why

Code that used to be sent to the REPL tool may now be turned down before it runs. The message says what to change: remove the eval call, or move the function outside that block.

See this entry in the whole of v2.1.334 →

Feedback