1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 17:08:00 +02:00
Beef/IDE/Tests/BugW008/src/Program.bf

34 lines
415 B
Beef

#pragma warning disable 168
using System;
using System.Collections;
namespace Bug
{
class Zonk<T>
{
public int Call(float val)
{
return 1;
}
}
extension Zonk<T> where comptype(Gen.Get()) : String
{
public int Call(int val)
{
return 2;
}
}
class Program
{
public static int Main(String[] args)
{
Zonk<int> zk = scope .();
int val = zk.Call(1);
//End
return 0;
}
}
}