mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Test changes
This commit is contained in:
parent
8b71f8d49a
commit
7247cad7f3
10 changed files with 121 additions and 59 deletions
|
@ -25,7 +25,7 @@ OtherLinkFlags = ""
|
|||
TargetDirectory = "$(WorkspaceDir)/dist"
|
||||
TargetName = "BeefIDE_d"
|
||||
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib"
|
||||
DebugCommandArguments = "-proddir=C:\\Beef\\IDE"
|
||||
DebugCommandArguments = "-workspace=C:\\Beef\\BeefBuild"
|
||||
DebugWorkingDirectory = "c:\\Beef\\IDE\\Tests\\EmptyTest"
|
||||
EnvironmentVars = ["_NO_DEBUG_HEAP=1"]
|
||||
|
||||
|
@ -49,7 +49,6 @@ OtherLinkFlags = ""
|
|||
TargetDirectory = "$(WorkspaceDir)/dist"
|
||||
TargetName = "BeefIDE_d2"
|
||||
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib"
|
||||
BeefLibType = "DynamicDebug"
|
||||
DebugCommandArguments = "-proddir=C:\\Beef\\IDE\\mintest"
|
||||
DebugWorkingDirectory = "$(ProjectDir)\\dist"
|
||||
EnvironmentVars = ["_NO_DEBUG_HEAP=1"]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
FileVersion = 1
|
||||
Projects = {mintest = {Path = "."}, minlib = {Path = "minlib"}, LibA = {Path = "LibA"}, LibB = {Path = "LibB"}, mintest2 = {Path = "mintest2"}}
|
||||
Locked = ["mintest2"]
|
||||
|
||||
[Workspace]
|
||||
StartupProject = "mintest"
|
||||
|
|
|
@ -1,36 +1,33 @@
|
|||
using System;
|
||||
// Zapples
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*class Mintest2
|
||||
/*class Zlobs : IDisposable
|
||||
{
|
||||
|
||||
public static void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|
||||
}
|
||||
}
|
||||
|
||||
class Zang
|
||||
{
|
||||
class Flang
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -34,6 +34,8 @@ namespace Hey.Dude.Bro
|
|||
{
|
||||
class TestClass
|
||||
{
|
||||
static int gApzong = 123;
|
||||
|
||||
[CLink, StdCall]
|
||||
public static extern void OutputDebugStringA(char8* str);
|
||||
|
||||
|
@ -144,6 +146,18 @@ namespace Hey.Dude.Bro
|
|||
}
|
||||
}
|
||||
|
||||
enum EnumB
|
||||
{
|
||||
AAA,
|
||||
BBB
|
||||
}
|
||||
|
||||
enum EnumC
|
||||
{
|
||||
CCC,
|
||||
DDD
|
||||
}
|
||||
|
||||
static void Flarg()
|
||||
{
|
||||
EnumA ea;
|
||||
|
@ -194,13 +208,28 @@ namespace Hey.Dude.Bro
|
|||
return val.GetHashCode();
|
||||
}
|
||||
|
||||
class Zangles
|
||||
{
|
||||
public static int GetMe(Zangles zang, String str)
|
||||
{
|
||||
return 99;
|
||||
}
|
||||
}
|
||||
|
||||
public static int Main(String[] args)
|
||||
{
|
||||
Int i = (.)123;
|
||||
i = i + i;
|
||||
|
||||
Zangles zang = scope .();
|
||||
|
||||
Zangles.GetMe(zang, "hey");
|
||||
|
||||
TypeCode tc = .Boolean;
|
||||
|
||||
PrintF("Hey\n");
|
||||
|
||||
//Test2(1, 2, 3, 4);
|
||||
Test2(1, 2, 3, 4);
|
||||
|
||||
/*IHashable ih = (int32)TypeCode.Boolean;
|
||||
let hashCode = ih.GetHashCode();*/
|
||||
|
@ -302,5 +331,6 @@ namespace AA
|
|||
|
||||
static
|
||||
{
|
||||
|
||||
static int gApsings = 123;
|
||||
}
|
||||
|
||||
|
|
|
@ -305,25 +305,55 @@ struct Blurg
|
|||
//int len = str.[Friend]GetLength();
|
||||
}
|
||||
|
||||
|
||||
static void Test(int a, int b, Span<int> iSpan)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static mixin Florf(int a, int b)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
class Zangles
|
||||
{
|
||||
public static int GetMe()
|
||||
{
|
||||
return 99;
|
||||
}
|
||||
}
|
||||
|
||||
public static int32 Hey()
|
||||
{
|
||||
while (true)
|
||||
for (int i < 100)
|
||||
{
|
||||
Type t = typeof(Yoofer);
|
||||
for (let field in t.GetFields())
|
||||
{
|
||||
StringView name = field.Name;
|
||||
}
|
||||
Yoofer.ColorizeCodeString("abc", .Callstack);
|
||||
}
|
||||
|
||||
#unwarn
|
||||
return (int32)123;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[Reflect]
|
||||
struct Yoofer
|
||||
class Yoofer
|
||||
{
|
||||
int mA;
|
||||
}
|
||||
public enum CodeKind
|
||||
{
|
||||
Callstack,
|
||||
Method,
|
||||
Field,
|
||||
Type
|
||||
}
|
||||
|
||||
public static void Zorg()
|
||||
{
|
||||
int a = 1;
|
||||
}
|
||||
|
||||
public static void ColorizeCodeString(String label, CodeKind codeKind)
|
||||
{
|
||||
Zorg();
|
||||
int a = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -314,8 +314,6 @@ namespace IDE
|
|||
|
||||
public static void ColorizeCodeString(String label, CodeKind codeKind)
|
||||
{
|
||||
//int q = 98;
|
||||
|
||||
int prevTypeColor = -1;
|
||||
int prevStart = -1;
|
||||
bool foundOpenParen = codeKind != .Callstack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue