From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f1c9515ab067aaea X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 13 Jul 2006 22:16:31 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: Unicode identifier and Wide_Value Date: Thu, 13 Jul 2006 22:17:12 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-KSmjtRhMH8NtRChvtkXy2e4u4s1yngJjXp96vo1ZQAHupHQ6ez07tbdOO2/1AUxhAPQRba4NruyHKoz!6imqTdzBTKG7+YjLASt5BbhMZj/rhk1oiqVYWHDagsWffXtwzp6EKUhMbPydmH1/3yBId2UY4qfP!orDURY2ihtxH4Q== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:5675 Date: 2006-07-13T22:17:12-05:00 List-Id: "Y.Tomino" wrote in message news:e960tm$56c$2@news521.nifty.com... > Hello. > > Ada2005 supports Unicode Identifier, and I tried to use it. > It's convenience to convert enum-values <=> strings. > Wide_Image works, but Wide_Value(Wide_Image(x)) raises Constraint_Error. This sounds like a compiler bug; there's likely to be a lot of them in Ada 2005 compilers (they're new, after all). But please remember that "Ada" is a programming language, not an implementation. You need to specify what implementation you're using when asking here about program behavior, because it's quite likely that someone else will have run into the problem. Randy Brukardt