I'm using "-vtls" to view the thread local variables, but I saw thousands of lines of duplicate messages like this:
...
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(729,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(723,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(729,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(723,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(729,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(723,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(729,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(723,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(729,8): `aggregate` is thread local
/Users//.dub/packages/mir-core-1.1.10/mir-core/source/mir/reflection.d(723,8): `aggregate` is thread local
...
[thousands of lines of duplication]
I'm wondering if dmd can detect such duplication, and only print unique messages.
Right now, I'm using this shell work-around:
$ make release | grep 'is thread local' | sort | uniq
Thanks.
Comment #1 by robert.schadek — 2024-12-13T19:11:20Z