MCPcopy Index your code
hub / github.com/nodejs/node / fail

Function fail

deps/v8/test/mjsunit/error-constructors.js:51–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49// Check that error construction does not call setters for the
50// properties on error objects in prototypes.
51function fail() { assertUnreachable(); };
52ReferenceError.prototype.__defineSetter__('name', fail);
53ReferenceError.prototype.__defineSetter__('message', fail);
54ReferenceError.prototype.__defineSetter__('stack', fail);

Callers 9

shouldNotBeTakenFunction · 0.70
shouldBeTakenFunction · 0.70
mjsunit.jsFile · 0.70
softFunction · 0.70
noneagerFunction · 0.70
lazyFunction · 0.70
strict-mode-opt.jsFile · 0.70

Calls 1

assertUnreachableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…