mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Added support for global:: lookups
This commit is contained in:
parent
ee50457885
commit
958a1630aa
13 changed files with 202 additions and 28 deletions
41
IDEHelper/Tests/src/Lookups.bf
Normal file
41
IDEHelper/Tests/src/Lookups.bf
Normal file
|
@ -0,0 +1,41 @@
|
|||
#pragma warning disable 168
|
||||
|
||||
namespace Tests;
|
||||
|
||||
namespace A.B
|
||||
{
|
||||
class Zonk<T>
|
||||
{
|
||||
public static int sVal = 123;
|
||||
}
|
||||
|
||||
static
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
global::B.Init();
|
||||
global::A.B.Zonk<int>.sVal = 234;
|
||||
global::B.MethodT<float>();
|
||||
global::System.String str = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace B
|
||||
{
|
||||
static
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
}
|
||||
|
||||
public static void MethodT<T>()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Lookups
|
||||
{
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue