[Issue 15252] New: [REG 2.069.0-rc1] Compilation error in std.uni

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 27 11:18:05 PDT 2015


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

          Issue ID: 15252
           Summary: [REG 2.069.0-rc1] Compilation error in std.uni
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: briancschott at gmail.com

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"

--


More information about the Digitalmars-d-bugs mailing list