mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Bug fixes, installer, [Export]
Fixed a bunch of bugs in aggregate const initializers Fixed ZIP bugs Fixed a compilation case where we change protection while reifying a type Added another project kind - Dynamic Library Added [Export] for DLL method exporting Fixed some issues of things being generated as __NOINLINE incorrectly Fixed an issue with module extensions with not-yet-demanded on-demand methods Started adding Installer
This commit is contained in:
parent
efa22e51fb
commit
09016c8dc0
135 changed files with 3615 additions and 2337 deletions
5
IDE/Tests/BugW001/BeefProj.toml
Normal file
5
IDE/Tests/BugW001/BeefProj.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
FileVersion = 1
|
||||
|
||||
[Project]
|
||||
Name = "BugW001"
|
||||
StartupObject = "BugW001.Program"
|
8
IDE/Tests/BugW001/BeefSpace.toml
Normal file
8
IDE/Tests/BugW001/BeefSpace.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
FileVersion = 1
|
||||
Projects = {BugW001 = {Path = "."}}
|
||||
|
||||
[Workspace]
|
||||
StartupProject = "BugW001"
|
||||
|
||||
[Configs.Debug.Win64]
|
||||
BfOptimizationLevel = "O0"
|
9
IDE/Tests/BugW001/scripts/Test.txt
Normal file
9
IDE/Tests/BugW001/scripts/Test.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
# This tests extensions on Result<void*>, where the void* operator would be double-declared in the IR
|
||||
|
||||
ShowFile("src/Program.bf")
|
||||
GotoText("//Main_Start")
|
||||
ToggleBreakpoint()
|
||||
RunWithCompiling()
|
||||
|
||||
ToggleCommentAt("Result_Get")
|
||||
Compile()
|
18
IDE/Tests/BugW001/src/Program.bf
Normal file
18
IDE/Tests/BugW001/src/Program.bf
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma warning disable 168
|
||||
|
||||
using System;
|
||||
|
||||
namespace BugW001
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
//Main_Start
|
||||
Result<void*> result = .();
|
||||
/*Result_Get
|
||||
void* vp = result;
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue