Reproducer projects for bug reports, check_run for code samples, and a COM Interfaces section - #218
Merged
Merged
Conversation
…ect reads past Debug.Cls
….Raise, End restarts the compiler
…MDIForm and NamedPipeServer samples split
…ries unwrapped for pasting
…; the Desktop heading without its instruction
…until after v1; comments cite the issues
…licate-names-shipped verified from the install
… the launcher for the IDE to exit
…ed later, as measured on 983 and 995
…n return another object, and the expression decides; the filed report records the narrowing
…ds the kept IDE, for cmd and PowerShell and for Git Bash
…il now and then to write the type library
…e type library (deferred)
…e after the sentinel no longer reads as exit 5
…or/FillStyle, on all six drawing surfaces, as VB6 and Graphics.twin do
…res what they print with the page; tbrun's capture moves to lib/tb-run.mjs
…handler per call; a sample that handles its own error returns with Err still set, in VB6 and twinBASIC
…BETA 995 give them; InStrRev raises 94 on Null; check_run examples
… For Each's calls), linked from For Each and Attributes; Attributes' example returns [_NewEnum], as VB6 needs
…tion.Next (null pCeltFetched), with a run-mode reproducer
… its twinBASIC declarations, how For Each calls it, and a full enumerator; Custom Enumerators links it
…-form: a form with one WebView2 control); run's probe clears the harness's WEBVIEW2_* variables while Main runs
…iew2 form, from the webview2-form template
…n BETA 995, and name GetHeader and Contains instead
…measured, probed or observed; applied to the pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Puts a reproducer project behind every bug report, runs documentation samples and checks what they print, and adds a Custom Enumerators page and a COM Interfaces section.
scripts/bug_repro.mjs(new) gives each entry ofBUGS-TO-REPORT.mda reproducer underbugs/<slug>/: a source tree, the.twinprojpacked from it, and arepro.jsonsaying what a reproduction looks like.newcan start from a template, such as a form with a WebView2 control;verifyasks the newest beta whether each still reproduces;filemoves a filed entry tobugs/filed/. 45 entries have one: 28 filed, each citing its GitHub issue, and 17 queued.tbrun --llvmcompiles the probe with LLVM, and--exealso builds it and runs the exe.tbrunexits 5 when the probe ended before it returned, and 6 when the exe exited non-zero or outlived--timeout.tbbuildandcheck_examplesgain--buildand--llvm, because a compile asks only the front end and code generation runs in a build. Each IDE gets a temp folder of its own: builds sharing one failed to write the type library in 8 of 192, against 0 of 192 with a folder each.check_run(new) builds and runs a statement sample and compares what it prints with the page: a trailing comment on aDebug.Printline, or the comment lines under' Output:. ASub Mainin a class slot is now a finding, and the Form, MDIForm and NamedPipeServer samples that had one are split.[Enumerator], writing anIEnumVARIANT, whatFor Eachcalls) and a COM Interfaces section, whose first page, IEnumVARIANT, gives each method's contract and a full enumerator: 914 to 917 pages. InStr, InStrRev and those two pages carry the firstcheck_runsamples.InStrandInStrRevlist their return values in the order they apply, as VB6 and BETA 995 give them;InStrRevraises 94 onNull.Line'sFfills with the outline colour andBalone withFillColorandFillStyle, on all six drawing surfaces.Forms(i)can return another object, depending on the expression around it.Staticwith a constructor fails only when the class is declared later.Err.Raisein an LLVM procedure reads back as&HEAEAEA01.For Eachover headers crashes in BETA 995, and nameGetHeaderandContainsinstead.bug_repro verifyandcheck_runneed a twinBASIC install, so they stay outside every gate and CI, likeexamples.bat.check_run's probes need none and run intest.bat.