mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 08:06:04 +02:00
Fixed some comptime dependency rebuilding issues with aliases/extensions
This commit is contained in:
parent
1cd198cea9
commit
434a7406de
22 changed files with 394 additions and 86 deletions
42
IDE/Tests/BugW009/src/Program.bf
Normal file
42
IDE/Tests/BugW009/src/Program.bf
Normal file
|
@ -0,0 +1,42 @@
|
|||
#pragma warning disable 168
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace Bug
|
||||
{
|
||||
class ClassA
|
||||
{
|
||||
public int Call()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
class ClassB
|
||||
{
|
||||
public int Call()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
typealias Alias1 = comptype(Gen.Get());
|
||||
typealias Alias2 = Alias1;
|
||||
|
||||
class Zonk<T> : Alias2
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
class Program
|
||||
{
|
||||
public static int Main(String[] args)
|
||||
{
|
||||
Zonk<int> zk = scope .();
|
||||
int val = zk.Call();
|
||||
//End
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue