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