[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2023-02-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #18 fro

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2023-02-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2023-02-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2023-02-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #16 from Dlang Bot --- @WalterBright created dlang/dmd pull request #14930 "fix Issue 18472: betterC cannot use format at compile time" fixing this issue: - fix Issue 18472: betterC cannot use format at compile time https://github.com/d

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2022-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #15 from Dlang Bot --- @etcimon updated dlang/dmd pull request #14676 "Fix 18472: betterC cannot use format at compile time." fixing this issue: - Fix 18472: betterC cannot use format at compile time. https://github.com/dlang/dmd/pull/1

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2019-10-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Mike Parker changed: What|Removed |Added CC||aldac...@gmail.com --- Comment #14 from Mike P

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-08-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #13 from Mike Franklin --- (In reply to Mike Franklin from comment #12) > This appears to work now in nightly: > > import std.format; > import std.stdio; > void main() > { > enum s = "%1$s,%2$s".format("foo","bar"); > writeln(s);

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-08-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #12 from Mike Franklin --- This appears to work now in nightly: import std.format; import std.stdio; void main() { enum s = "%1$s,%2$s".format("foo","bar"); writeln(s); } https://run.dlang.io/is/BDyoHF It may have been fixed in

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-05-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #11 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/cb2b0b848a1c6a2b208ba12257f6204c725744e4 Partial fix for Issue 18472 - permit using typeid at compile-

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #10 from Mike Franklin --- PR 8173 seems to take care of the case... module betterc; enum b = typeid(size_t) is typeid(uint) ... but still fails for ... import std.format; import std.stdio; void main() { enum s = "%1$s,%2$s".format

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Mike Franklin changed: What|Removed |Added Keywords||pull --- Comment #9 from Mike Franklin ---

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #8 from Mike Franklin --- (In reply to Rainer Schuetze from comment #7) > I think the main issue is that the compiler does not distinguish between > information needed at compile time and what's necessary inside the object > file. Ok, I

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #7 from Rainer Schuetze --- I think the main issue is that the compiler does not distinguish between information needed at compile time and what's necessary inside the object file. --

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #6 from Mike Franklin --- (In reply to Rainer Schuetze from comment #5) > Here's a simpler test case: > > module betterc; > enum b = typeid(size_t) is typeid(uint); At https://dlang.org/spec/betterc.html under the "Not Available" sectio

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #5 from Rai

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #4 from Mike Franklin --- Isn't this then a duplicate of Issue 18101? In other words, if Issue 18101 were solved, there wouldn't be a need for TypeInfo, and therefore the TypeInfo error would not be triggered? --

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 --- Comment #3 from Nicholas Wilson --- (In reply to Martin Nowak from comment #2) > cat > bug.d << CODE > import std.format; > import std.stdio; > void main() > { > enum s = "%1$s,%2$s".format("foo","bar"); > writeln(s); > } > CODE > dmd -c

[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.

2018-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18472 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu Summary|betterC: cann