kevingadd/JSIL — Issue #67: Crash when translating delegate call
Author: markusjohnsson
Created: 2012-02-06 19:50:44+00:00
State: open

The following test case crashes JSIL and I'm having trouble understanding what is going on:

```csharp
using System;

public class Program
{
public static void Main(string[] args)
{
var d = new D();
d.slot = "Before";
string t;
d.Do_Transform(out t, s => "After");
Console.WriteLine(t);
}
}

public class D
{
public string slot;

public delegate TRet Transform(string key);

public void Do_Transform(out TElem result, Transform transform)
where TRet : TElem
{
result = transform(slot);
}
}
```