module PlutusTx.Utils where
import Prelude as Haskell
mustBeReplaced :: String -> a
mustBeReplaced :: forall a. String -> a
mustBeReplaced String
placeholder =
String -> a
forall a. HasCallStack => String -> a
error (String -> a) -> String -> a
forall a b. (a -> b) -> a -> b
$
String
"The " String -> String -> String
forall a. Semigroup a => a -> a -> a
<> String -> String
forall a. Show a => a -> String
show String
placeholder String -> String -> String
forall a. Semigroup a => a -> a -> a
<> String
" placeholder must have been replaced by the \
\core-to-plc plugin during compilation."