D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18464 - fullyQualifiedName!ifloat and fullyQualifiedName!cfloat fail
Summary: fullyQualifiedName!ifloat and fullyQualifiedName!cfloat fail
Status: RESOLVED WONTFIX
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-19 05:00 UTC by katemmons0
Modified: 2021-02-07 13:34 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description katemmons0 2018-02-19 05:00:18 UTC
fullyQualifiedName does not work on any of the i or c variants of float, double, and real. 


static assert(!__traits(compiles, fullyQualifiedName!ifloat));
static assert(!__traits(compiles, fullyQualifiedName!idouble));
static assert(!__traits(compiles, fullyQualifiedName!ireal));
static assert(!__traits(compiles, fullyQualifiedName!cfloat));
static assert(!__traits(compiles, fullyQualifiedName!cdouble));
static assert(!__traits(compiles, fullyQualifiedName!creal));
Comment 1 Seb 2018-02-19 05:12:58 UTC
While not directly related to your issue, but are you aware that the i and c variants are about to be deprecated? (they have been deprecated in 2012, but -transition=complex has never been activated by default)
Comment 2 katemmons0 2018-02-21 03:13:30 UTC
(In reply to Seb from comment #1)
> While not directly related to your issue, but are you aware that the i and c
> variants are about to be deprecated? (they have been deprecated in 2012, but
> -transition=complex has never been activated by default)

Nope, didn't know that. I don't need this for anything, I just noticed it and thought I would report it. https://imgur.com/gallery/cMfkFGP
Comment 3 Tiberiu Lepadatu 2018-10-21 17:47:25 UTC
I think that the error comes from the fact that fqnType does not recognize c and i types. Should I write a fix, giving the fact that the types will be eliminated?
Comment 4 Berni44 2021-02-07 13:34:25 UTC
With the deprecation of complex native types, I think, this is a WONTFIX.