Bug 24172 – Error when compiling with std_regex_* debug conditions

Status
NEW
Severity
trivial
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2023-10-03T11:44:11Z
Last change time
2024-12-01T16:41:54Z
Assigned to
No Owner
Creator
Mai Lapyst
Moved to GitHub: phobos#9865 →

Comments

Comment #0 by info — 2023-10-03T11:44:11Z
While trying to debug some compile time regexes (ctRegex), I used the debug conditions `std_regex_*`, and it produces some trivial errors: - they enable usage of `writeln` while not importing `std.stdio` in all places - `BacktrackingMatcher.ctAtomCode` is not generating a valid case when debug statements are present (needs explicit falltrough for IR.End) - parseRegex has a typo; uses `fixupStack.data` instead of `g.fixupStack.data` I work on a WIP patch for that all, which I will link here from my fork of phobos once I got the issue number for it.
Comment #1 by info — 2023-10-03T11:46:53Z
Comment #2 by robert.schadek — 2024-12-01T16:41:54Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9865 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB