mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Fixed a module extension issue with mIRFunction not being cleared
This commit is contained in:
parent
07a8e1fe23
commit
d7da98444e
7 changed files with 71 additions and 66 deletions
25
IDE/Tests/BugW002/src/Program.bf
Normal file
25
IDE/Tests/BugW002/src/Program.bf
Normal file
|
@ -0,0 +1,25 @@
|
|||
#pragma warning disable 168
|
||||
|
||||
using System;
|
||||
|
||||
namespace Bug
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
/*Main_OpenReg
|
||||
Windows.HKey key = 0;
|
||||
Windows.RegOpenKeyExA(Windows.HKEY_LOCAL_MACHINE, @"SYSTEM\CurrentControlSet\Control\Session Manager\Environment", 0, Windows.KEY_QUERY_VALUE, out key);
|
||||
if (key.IsInvalid)
|
||||
Runtime.FatalError();
|
||||
*/
|
||||
|
||||
/*Main_GetValue
|
||||
String path = scope .();
|
||||
if (key.GetValue("path", path) case .Err)
|
||||
Runtime.FatalError();
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue