mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixes for type dependencies and tests for type deletion bug
This commit is contained in:
parent
198acef1c6
commit
03fbc9d468
16 changed files with 309 additions and 55 deletions
|
@ -1513,6 +1513,17 @@ namespace IDE
|
|||
}
|
||||
}
|
||||
|
||||
[IDECommand]
|
||||
public void AssertTypeInfo(int compilerId, String typeName, String wantTypeInfo)
|
||||
{
|
||||
String typeInfo = scope String();
|
||||
var compiler = (compilerId == 0) ? gApp.mBfResolveCompiler : gApp.mBfBuildCompiler;
|
||||
compiler.GetTypeInfo(typeName, typeInfo);
|
||||
|
||||
if (typeInfo != wantTypeInfo)
|
||||
mScriptManager.Fail("Assert failed: {0} == {1}", typeInfo, wantTypeInfo);
|
||||
}
|
||||
|
||||
[IDECommand]
|
||||
public void AddWatch(String evalStr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue