CodeSampleX

サンプル

Show that the parser bundled with @babel/core 7.29.6 rejects `new super()` instead of returning transformed output.

sha256:2c75f030a154cfccd189ac23e01f59a8adaf038a3d2653278fb0cdddfe70b2a1

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Show that the parser bundled with @babel/core 7.29.6 rejects `new super()` instead of returning transformed output. HOW
パッケージ
@babel/core 7.29.6
環境
node
作成日
2026-08-17T03:13:57Z

よくある思い込み

A model would likely expect Babel to treat `new super()` like a standard callable super-expression form and return transpiled output instead of throwing.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート