Solidity REPL
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; contract GreeterSimple { bytes32 private greeting = "Hello, EVM!"; function greet() public view returns (bytes32) { return greeting; } function setGreeting(bytes32 _greeting) external { greeting = _greeting; } }
No compile errors.
Compiler Output
contract Repl { address target; constructor(address _target) { target = _target; } function go() external returns (bytes32) { uint x = 99; return bytes32(x); } }