[Issue 11595] __traits(allMembers, packageName) behaves oddly.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 29 14:23:21 UTC 2022


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dkorpel at live.nl
         Resolution|---                         |DUPLICATE

--- Comment #3 from Dennis <dkorpel at live.nl> ---
Output has changed:
```
           2.088.1: Success with output:
-----
tuple("object", "core", "rt_tlsgc_init", "rt_tlsgc_destroy", "ScanDg",
"rt_tlsgc_scan", "rt_tlsgc_processGCMarks", "StackGrowsDown", "getpid",
"ThreadException", "ThreadError", "rt_moduleTlsCtor", "rt_moduleTlsDtor",
"_d_eh_swapContext", "_d_eh_swapContextDwarf", "swapContext",
"thread_entryPoint", "suspendCount", "thread_suspendHandler",
"thread_resumeHandler", "Thread", "thread_setGCSignals", "suspendSignalNumber",
"resumeSignalNumber", "thread_init", "_mainThreadStore",
"_d_monitordelete_nogc", "thread_term", "thread_isMainThread",
"thread_attachThis", "attachThread", "thread_detachThis",
"thread_detachByAddr", "thread_detachInstance", "thread_findByAddr",
"thread_setThis", "thread_joinAll", "_sharedStaticDtor_L2427_C1",
"multiThreadedFlag", "callWithStackShell", "suspendDepth", "suspend",
"thread_suspendAll", "resume", "thread_resumeAll", "ScanType",
"ScanAllThreadsFn", "ScanAllThreadsTypeFn", "thread_scanAllType",
"scanAllTypeImpl", "thread_scanAll", "thread_enterCriticalRegion",
"thread_exitCriticalRegion", "thread_inCriticalRegion", "onThreadError",
"IsMarked", "IsMarkedDg", "thread_processGCMarks", "pthread_getattr_np",
"getStackTop", "getStackBottom", "thread_stackTop", "thread_stackBottom",
"ThreadGroup", "AsmX86_64_Posix", "AlignFiberStackTo16Byte", "PAGESIZE",
"PTHREAD_STACK_MIN", "_sharedStaticCtor_L3695_C1", "fiber_entryPoint",
"fiber_switchContext", "Fiber", "ThreadID", "ll_ThreadData", "ll_nThreads",
"ll_pThreads", "ll_lock", "lowlevelLock", "initLowlevelThreads",
"termLowlevelThreads", "ll_removeThread", "createLowLevelThread",
"joinLowLevelThread", "findLowLevelThread")
tuple("object", "core", "rt_tlsgc_init", "rt_tlsgc_destroy", "ScanDg",
"rt_tlsgc_scan", "rt_tlsgc_processGCMarks", "StackGrowsDown", "getpid",
"ThreadException", "ThreadError", "rt_moduleTlsCtor", "rt_moduleTlsDtor",
"_d_eh_swapContext", "_d_eh_swapContextDwarf", "swapContext",
"thread_entryPoint", "suspendCount", "thread_suspendHandler",
"thread_resumeHandler", "Thread", "thread_setGCSignals", "suspendSignalNumber",
"resumeSignalNumber", "thread_init", "_mainThreadStore",
"_d_monitordelete_nogc", "thread_term", "thread_isMainThread",
"thread_attachThis", "attachThread", "thread_detachThis",
"thread_detachByAddr", "thread_detachInstance", "thread_findByAddr",
"thread_setThis", "thread_joinAll", "_sharedStaticDtor_L2427_C1",
"multiThreadedFlag", "callWithStackShell", "suspendDepth", "suspend",
"thread_suspendAll", "resume", "thread_resumeAll", "ScanType",
"ScanAllThreadsFn", "ScanAllThreadsTypeFn", "thread_scanAllType",
"scanAllTypeImpl", "thread_scanAll", "thread_enterCriticalRegion",
"thread_exitCriticalRegion", "thread_inCriticalRegion", "onThreadError",
"IsMarked", "IsMarkedDg", "thread_processGCMarks", "pthread_getattr_np",
"getStackTop", "getStackBottom", "thread_stackTop", "thread_stackBottom",
"ThreadGroup", "AsmX86_64_Posix", "AlignFiberStackTo16Byte", "PAGESIZE",
"PTHREAD_STACK_MIN", "_sharedStaticCtor_L3695_C1", "fiber_entryPoint",
"fiber_switchContext", "Fiber", "ThreadID", "ll_ThreadData", "ll_nThreads",
"ll_pThreads", "ll_lock", "lowlevelLock", "initLowlevelThreads",
"termLowlevelThreads", "ll_removeThread", "createLowLevelThread",
"joinLowLevelThread", "findLowLevelThread")
-----

2.089.1 to 2.093.1: Success with output:
-----
tuple("object", "core")
tuple()
-----

Since      2.094.2: Success with output:
-----
tuple("object", "core")
tuple("object", "core")
-----
```

But it's still not great, see issue 20008.

*** This issue has been marked as a duplicate of issue 20008 ***

--


More information about the Digitalmars-d-bugs mailing list