[Issue 8236] Wrong error message in creating struct from vector operation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 17 11:52:59 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=8236

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx

--- Comment #1 from hsteoh at quickfur.ath.cx ---
On git HEAD, the error message is now:
----
test.d(4): Error: cannot implicitly convert expression (this.v[] / 2) of type
int[] to int[2]
test.d(7):        called from here: Foo([10, 20]).halve()
----

Is this acceptable?

--


More information about the Digitalmars-d-bugs mailing list