Iain Buclaw
7c0a6512fd
changelog: Clarify naming convention of changelog entries that are now picked up by changed.d
2022-10-28 15:30:59 +01:00
Iain Buclaw
048be13548
fix Issue 23439 - [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")' ( #14596 )
2022-10-27 09:01:55 +03:00
Iain Buclaw
020d7c216b
fix Issue 23433 - [REG 2.081][ICE] Segmentation fault in dmd.blockexit.checkThrow at at src/dmd/blockexit.d:557
2022-10-23 23:08:24 +02:00
Iain Buclaw
86b87c47be
fix Issue 23431 - [REG master][ICE] Segmentation fault in Dsymbol::toParent() (this=0x0) at dmd/dsymbol.d:561
2022-10-23 21:20:01 +01:00
Iain Buclaw
12485385f1
Revert "Fix Issue 14905 - duplicate error message: 'Warning: statement is not reachable' ( #14543 )"
...
This reverts commit aae2fd363f
.
2022-10-23 21:20:01 +01:00
Bastiaan Veelo
75384c9245
Windows: Double dmd.exe stack limit to 16 MB
...
DMD fails on some projects where LDC does not. LDC increased its stack space to 16 MB in ldc-developers/ldc#3921 .
2022-10-18 15:08:34 +02:00
Iain Buclaw
bccd472095
circleci: Migrate to circleci convenience images
2022-10-17 00:38:42 +02:00
RazvanN7
b9b7b1a33f
Fix Issue 23406 - [seg fault] enums can cause compile time seg faults with assignments using alias this
2022-10-12 19:56:07 +02:00
Iain Buclaw
8f00b6dac7
make: Put windows build files in the toplevel generated directory
2022-10-12 19:54:12 +02:00
Iain Buclaw
2893fabc9d
changelog: Fix changelog names so they get picked up
2022-10-12 15:06:33 +02:00
Iain Buclaw
15c5286c21
Merge remote-tracking branch 'upstream/master' into stable
2022-10-11 21:45:04 +00:00
mhh
81f5c8b354
Enable shortened methods by default
...
The preview flag will still work but will print a deprecation message
2022-10-11 01:41:29 +09:00
Iain Buclaw
ea16dd1531
Merge remote-tracking branch 'upstream/master' into stable
2022-10-10 08:57:21 +00:00
Razvan Nitu
aae2fd363f
Fix Issue 14905 - duplicate error message: 'Warning: statement is not reachable' ( #14543 )
2022-10-10 11:56:38 +03:00
Iain Buclaw
422351e0c4
Prefix changelogs with either dmd. or druntime.
2022-10-10 16:16:51 +09:00
Iain Buclaw
4c1062e802
Move druntime changelogs to top-level
2022-10-10 16:16:51 +09:00
Razvan Nitu
5fd7882271
Fix Issue 14694 - Functions nested within functions need their body inside the generated .di file ( #14529 )
2022-10-10 08:15:49 +03:00
Luís Ferreira
b2db9ad957
chore(pre-commit): update pre-commit hooks ( #14534 )
...
Hook 'sirosen/check-jsonschema' updated from 0.17.1 to 0.18.3.
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2022-10-10 06:42:01 +03:00
Walter Bright
b3dc2e0621
dcgcv.d add out of memory checks ( #14535 )
2022-10-10 06:39:03 +03:00
Dennis
519653d17e
Cache TypeStruct hasXXX methods ( #14533 )
2022-10-10 06:19:44 +03:00
Iain Buclaw
3e19a5510a
Merge remote-tracking branch 'upstream/master' into stable
2022-10-09 22:26:59 +00:00
Brian Callahan
fb0f1bf080
Teach druntime about the new OpenBSD mimmutable syscall.
...
8c7187e8f9
2022-10-09 11:04:26 +08:00
Walter Bright
5beedd26cc
fix Issue 23343 - ImportC: functions declared with asm label to set symbol name gets extra underscore prepended ( #14485 )
2022-10-08 16:30:46 -07:00
Walter Bright
f4c21ccd6a
fix Issue 23342 - ImportC: Array compound literals use the GC
2022-10-07 21:03:10 +02:00
Dennis Korpel
1319eacaf5
Refactor FUNCFLAG into bitfields
2022-10-07 17:47:43 +02:00
Dennis Korpel
aa99beb73f
Add initializer support for bitfields
2022-10-07 17:47:43 +02:00
Atila Neves
f471287db1
Change globals.noSharedAccess from bool to FeatureState
2022-10-08 00:06:57 +09:00
Walter Bright
f84abd3026
mem.d: add out of memory detection ( #14537 )
2022-10-07 06:36:55 -07:00
Dennis
323bb2ed19
Fix 22784 - pragma(printf) applies to nested functions ( #14503 )
2022-10-07 06:06:15 +03:00
Razvan Nitu
2d4d936505
Fix Issue 14690 - pragma(inline, true) functions must have their bodies emitted in the .di file ( #14530 )
2022-10-07 05:46:06 +03:00
Walter Bright
e431c85202
common/file.d fix malloc check ( #14536 )
2022-10-07 05:41:58 +03:00
Dennis
e319e71628
Improve error for assignment to longer lifetime ( #14532 )
2022-10-07 05:34:14 +03:00
Dennis
f65d5e52f1
Add test case for scope tuple expansion ( #14531 )
2022-10-07 05:32:27 +03:00
Razvan Nitu
053e2ee85b
Fix Issue 23384 - Suggest calling matching base class method when hidden ( #14525 )
...
* Fix Issue 23384 - Suggest calling matching base class method when hidden
* Update compiler/src/dmd/func.d
Co-authored-by: Dennis <dkorpel@users.noreply.github.com>
Co-authored-by: Dennis <dkorpel@users.noreply.github.com>
2022-10-06 12:39:04 +03:00
Dennis
4c14051ec6
Deduplicate pragma(startAddress)
semantic ( #14512 )
2022-10-06 08:15:24 +03:00
Walter Bright
efb64b3600
check return value of allocator ( #14517 )
2022-10-06 08:13:34 +03:00
Dennis
c130a07b3f
Deduplicate isTypesafeVariadicParameter
array type check ( #14526 )
2022-10-06 06:42:27 +03:00
Martin Kinkelin
5fadbf56da
Fix Issue 23337 - Wrongly elided postblit/copy ctor for array construction (_d_arrayctor lowering) ( #14442 )
...
* Fix Issue 23337 - Wrongly elided postblit/copy ctor for array construction (_d_arrayctor lowering)
* Add array-construction tests for slice-expression LHS
Which required further logic tweaks to prevent previously invisible
regressions for two such corner cases - wrong _d_arrayctor lowerings
with array literals and static-array rvalues, the latter implicitly
cast to slices.
2022-10-06 05:34:03 +03:00
lucica28
607a9a4657
fix location issue for VisibilityDeclaration ( #14473 )
...
* fix location issue for VisibilityDeclaration
* add test
2022-10-05 12:09:24 +03:00
Walter Bright
bdb607c936
fix Issue 23293 - ImportC: _Bool bit fields layout does not match gcc ( #14508 )
2022-10-05 10:21:22 +03:00
Walter Bright
1172c5f498
fix Issue 23357 - ImportC: compatible types with definitions leads to redeclaration error when used from D ( #14509 )
...
Co-authored-by: lucica28 <57060141+lucica28@users.noreply.github.com>
2022-10-05 09:36:47 +03:00
Walter Bright
8ccadf8829
replace assert on alloc failure with err_nomem() ( #14518 )
2022-10-05 05:39:07 +03:00
lucica28
fc7cd7034f
Update constructor for FuncLiteralDeclaration in ASTBase ( #14519 )
2022-10-05 05:37:33 +03:00
lucica28
15391b2738
add class ErrorExp in ASTBase ( #14520 )
2022-10-05 05:37:10 +03:00
lucica28
16dce656ef
add class ErrorStatement in ASTBase ( #14521 )
2022-10-05 05:35:25 +03:00
Walter Bright
91df9d3efa
dvec.d: add overflow and OOM checks instead of asserts ( #14523 )
2022-10-05 05:34:46 +03:00
Walter Bright
6fd649fc67
aarray.d: replace assert with err_nomem, add overflow checks ( #14524 )
2022-10-05 05:34:05 +03:00
Martin Kinkelin
c5337c88c8
Add predefined version D_Optimized
when compiling with -O
( #14245 )
...
* Add predefined version `D_Optimized` when compiling with `-O`
So that code can be aware of whether it's compiled with `-O`, e.g., to
distinguish between debug and optimized release builds (not necessarily
using `-release`).
* [update changelog/d_optimized.dd]
Co-authored-by: Petar Kirov <petar.p.kirov@gmail.com>
Co-authored-by: Petar Kirov <petar.p.kirov@gmail.com>
2022-10-05 05:28:03 +03:00
Iain Buclaw
c637c6ad16
Update downloads.dlang.org links to use https ( #14516 )
2022-10-05 05:10:57 +03:00
Dennis
9ceae92890
Fix 23386 - Segfault on enum member UDA inside template ( #14522 )
2022-10-05 05:05:18 +03:00