D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15252 - [REG 2.069.0-rc1] Compilation error in std.uni
Summary: [REG 2.069.0-rc1] Compilation error in std.uni
Status: RESOLVED DUPLICATE of issue 15251
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-27 18:18 UTC by briancschott
Modified: 2015-10-30 15:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description briancschott 2015-10-27 18:18:05 UTC
While trying to compile DCD with 2.069.0-rc1 I get the following error:

Error: cannot cast ["L", "Letter", "LC", "Cased Letter", "M", "Mark", "N", "Number", "P", "Punctuation", "S", "Symbol", "Z", "Separator", "Graphical", "any", "ascii"][1..17] to void at compile time
/home/brian/.dvm/compilers/dmd-2.069.0-rc1/linux/bin/../../src/phobos/std/uni.d(5966):        called from here: find(names)
/home/brian/.dvm/compilers/dmd-2.069.0-rc1/linux/bin/../../src/phobos/std/uni.d(6154):        called from here: isPrettyPropertyName(name)
/home/brian/.dvm/compilers/dmd-2.069.0-rc1/linux/bin/../../src/phobos/std/uni.d(6032):        called from here: findAny("Alphabetic")
/home/brian/.dvm/compilers/dmd-2.069.0-rc1/linux/bin/../../src/phobos/std/uni.d(6035): Error: static assert  "No unicode set by name Alphabetic was found."
/home/brian/.dvm/compilers/dmd-2.069.0-rc1/linux/bin/../../src/phobos/std/regex/internal/ir.d-mixin-50(50):        instantiated from here: opDispatch!"Alphabetic"
/home/brian/.dvm/compilers/dmd-2.069.0-rc1/linux/bin/../../src/phobos/std/regex/internal/ir.d(65):        instantiated from here: memoizeExpr!"unicode.Alphabetic | unicode.Mn | unicode.Mc\x0a        | unicode.Me | unicode.Nd | unicode.Pc"
Comment 1 briancschott 2015-10-27 18:21:49 UTC
Given the common "cannot cast ... to void at compile time" error message, this may be a duplicate of 15251.
Comment 2 Martin Nowak 2015-10-30 15:28:18 UTC
Confirmed (https://github.com/MartinNowak/project_tester), this is a duplicate of issue 15251 and fixed now.

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