public void CompileGetLocalInBlock()
{
Block block = this.compiler.CompileBlock("| env | [env at: #MyGlobal] value");
Assert.IsNotNull(block);
Assert.IsTrue(block.NoConstants > 0);
var result = block.GetConstant(0);
Assert.IsNotNull(result);
Assert.IsInstanceOfType(result, typeof(Block));
var decompiler = new BlockDecompiler((Block)result);
var steps = decompiler.Decompile();
Assert.IsTrue(steps.Contains("GetLocal env"));
}