1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-14 12:13:51 +02:00

Initial checkin

This commit is contained in:
Brian Fiete 2019-08-23 11:56:54 -07:00
parent c74712dad9
commit 078564ac9e
3242 changed files with 1616395 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# This checks that virtual method calls work in the debugger,
# and also ensures that the virtual indicies properly remap
# after the interface slot count increases between compiles
ShowFile("src/Virtuals.bf")
GotoText("//Test_Start")
ToggleBreakpoint()
RunWithCompiling()
AssertEvalEquals("ca.GetA(9)", "2009")
AssertEvalEquals("cb.GetA(11)", "2011")
AssertEvalEquals("ca.Korf", "234")
AssertEvalEquals("cb.Korf", "234")
StopRunning()
ToggleCommentAt("ClassA_IFaces")
ToggleCommentAt("Test_IFaces")
RunWithCompiling()
AssertEvalEquals("ca.GetA(9)", "2009")
AssertEvalEquals("cb.GetA(11)", "2011")
AssertEvalEquals("ca.Korf", "234")
AssertEvalEquals("cb.Korf", "234")