mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
34 lines
415 B
Beef
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;
|
|
}
|
|
}
|
|
}
|