Thread overview
[Issue 19234] betterC TypeInfo error when using slice copy on Structs
Sep 13, 2018
anonymous4
[Issue 19234] betterC TypeInfo error when using slice copy or slice assign on Structs
Jun 01, 2019
Nathan S.
Jun 01, 2019
Nathan S.
Jun 01, 2019
Nathan S.
Jun 01, 2019
Nathan S.
Jun 01, 2019
Dlang Bot
Jun 02, 2019
Dlang Bot
Jun 08, 2021
Dlang Bot
Jun 09, 2021
Dlang Bot
Jun 11, 2021
Dlang Bot
September 13, 2018
https://issues.dlang.org/show_bug.cgi?id=19234

anonymous4 <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |betterC

--
June 01, 2019
https://issues.dlang.org/show_bug.cgi?id=19234

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary@hotmail.com
           Hardware|x86_64                      |All
            Summary|betterC TypeInfo error when |betterC TypeInfo error when
                   |using slice copy on Structs |using slice copy or slice
                   |                            |assign on Structs
                 OS|Windows                     |All

--- Comment #1 from Nathan S. <n8sh.secondary@hotmail.com> ---
Also applies to slice assign with structs.

//flags: -betterC
extern(C):

struct S { int a; }

void main()
{
    S[10] array;
    S val;
    array[] = val;
}

--
June 01, 2019
https://issues.dlang.org/show_bug.cgi?id=19234

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=19561

--
June 01, 2019
https://issues.dlang.org/show_bug.cgi?id=19234

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|betterC TypeInfo error when |betterC TypeInfo error when
                   |using slice copy or slice   |using slice copy on Structs
                   |assign on Structs           |

--
June 01, 2019
https://issues.dlang.org/show_bug.cgi?id=19234

--- Comment #2 from Nathan S. <n8sh.secondary@hotmail.com> ---
I have a fix for just the slice copy so I'll re-separate the issue of slice assignment.

--
June 01, 2019
https://issues.dlang.org/show_bug.cgi?id=19234

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/dmd pull request #9942 "Fix Issue 19234 - betterC TypeInfo error when using slice copy on Structs" fixing this issue:

- Fix Issue 19234 - betterC TypeInfo error when using slice copy on Structs

  Known limitation: does not work if the struct has a dtor.

https://github.com/dlang/dmd/pull/9942

--
June 02, 2019
https://issues.dlang.org/show_bug.cgi?id=19234

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #9942 "Fix Issue 19234 - betterC TypeInfo error when using slice copy on Structs" was merged into master:

- a9080406f3b5c8d29b148be42292d2eb783face1 by Nathan Sashihara:
  Fix Issue 19234 - betterC TypeInfo error when using slice copy on Structs

  Known limitation: does not work for struct with postblit or dtor.

https://github.com/dlang/dmd/pull/9942

--
June 08, 2021
https://issues.dlang.org/show_bug.cgi?id=19234

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12648 "[dmd-cxx] Fix Issue 19234 - betterC TypeInfo error when using slice copy on Structs" was merged into dmd-cxx:

- 14d3a7e52f73250d0f152f97f89ed7a43ccf9a90 by Nathan Sashihara:
  [dmd-cxx] Fix Issue 19234 - betterC TypeInfo error when using slice copy on
Structs

  Known limitation: does not work for struct with postblit or dtor.

https://github.com/dlang/dmd/pull/12648

--
June 09, 2021
https://issues.dlang.org/show_bug.cgi?id=19234

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12651 "Extend Issue 19234 - betterC TypeInfo error when using slice copy on Structs" was merged into master:

- dcdfb21d6691715bc49d775912c1303a46e172bb by Iain Buclaw:
  Extend Issue 19234 - betterC TypeInfo error when using slice copy on Structs

https://github.com/dlang/dmd/pull/12651

--
June 11, 2021
https://issues.dlang.org/show_bug.cgi?id=19234

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12668 "[dmd-cxx] Backport recent bug fixes for static foreach ICEs" was merged into dmd-cxx:

- d24f3aa8d09ea60375ae40d91ae1cfddcbb19141 by Iain Buclaw:
  [dmd-cxx] Extend Issue 19234 - betterC TypeInfo error when using slice copy
on Structs

https://github.com/dlang/dmd/pull/12668

--