Skip to content

Commit

Permalink
Wrong macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
andralex committed Jan 12, 2015
1 parent 4c738aa commit 456f9e9
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 25 deletions.
42 changes: 21 additions & 21 deletions changelog.dd
Expand Up @@ -143,7 +143,7 @@ $(LI $(BUGZILLA 11946): need 'this' to access member when passing field to templ
$(LI $(BUGZILLA 13294): [IFTI] IFTI fails or works incorrectly for function with const and mutable `ref` parameters of most types)
$(LI $(BUGZILLA 13299): [dmd-2.066-rc2] - Property not found with typesafe variadic opDispatch)
$(LI $(BUGZILLA 13303): Internal error: ..\ztc\cgcs.c 351 with rvalue Variant.get call)
$(LI $(BUGZILLA 13311): [REG2.065] ICE, CtorDeclaration::semantic$(LPAREN)Scope*$(RPAREN): Assertion `tf && tf->ty == Tfunction' failed)
$(LI $(BUGZILLA 13311): [REG2.065] ICE, CtorDeclaration::semantic$(LPAREN)Scope*$(RPAREN): Assertion `tf && tf->ty == Tfunction` failed)
$(LI $(BUGZILLA 13321): Wrong goto skips declaration error)
$(LI $(BUGZILLA 13353): [REG2.066] [ICE] assertion with is$(LPAREN)$(RPAREN) and templated interface)
$(LI $(BUGZILLA 13374): Wrong template overload resolution when passing function to alias/string parameter)
Expand Down Expand Up @@ -719,7 +719,7 @@ $(LI $(BUGZILLA 12413): Infinite recursion of `Package::search`)
$(LI $(BUGZILLA 12467): Regression $(LPAREN)2.066 git-head$(RPAREN): char[] is implicitly convertible to string)
$(LI $(BUGZILLA 12485): [REG2.065] DMD crashes when recursive template expansion)
$(LI $(BUGZILLA 12497): [REG2.064] ICE on string mixin with non-string operand)
$(LI $(BUGZILLA 12501): Assertion `global.gaggedErrors || global.errors' failed.)
$(LI $(BUGZILLA 12501): Assertion `global.gaggedErrors || global.errors` failed.)
$(LI $(BUGZILLA 12509): Compiler performance highly depends on declared array size - for struct with long static array of structs)
$(LI $(BUGZILLA 12554): [ICE]$(LPAREN)struct.c line 898$(RPAREN) with failed delegate purity)
$(LI $(BUGZILLA 12574): [ICE]$(LPAREN)statement.c, line 713$(RPAREN) with reduce with wrong tuple arity)
Expand All @@ -733,7 +733,7 @@ $(LI $(BUGZILLA 12649): "discards return value" warning will cause ICE on functi
$(LI $(BUGZILLA 12650): Invalid codegen on taking lvalue of instance field initializ)
$(LI $(BUGZILLA 12689): [CTFE] assigning via pointer from 'in' expression doesn't work)
$(LI $(BUGZILLA 12703): GIT HEAD : final class rejects members initialization)
$(LI $(BUGZILLA 12719): struct.c:705: virtual void StructDeclaration::semantic$(LPAREN)Scope*$(RPAREN): Assertion `parent && parent == sc->parent' failed.)
$(LI $(BUGZILLA 12719): struct.c:705: virtual void StructDeclaration::semantic$(LPAREN)Scope*$(RPAREN): Assertion `parent && parent == sc->parent` failed.)
$(LI $(BUGZILLA 12727): [REG2.066a] DMD hangs up on recursive alias declaration)
$(LI $(BUGZILLA 12728): [REG2.066a] IFTI should consider instantiated types that has template parameters with default args)
$(LI $(BUGZILLA 12760): Initializing an object that has "this$(LPAREN)Args$(RPAREN) inout" causes "discards return value" warning)
Expand All @@ -758,7 +758,7 @@ $(LI $(BUGZILLA 13021): Constructing union with floating type and then accessing
$(LI $(BUGZILLA 13024): [ICE]$(LPAREN)expression.c line 1172$(RPAREN) with implicit supertype conversion of different enums in array literal)
$(LI $(BUGZILLA 13025): Tools repository does not build on Ubuntu)
$(LI $(BUGZILLA 13026): object.get cannot be called with [] as "defaultValue" argument)
$(LI $(BUGZILLA 13027): Assertion `ex->op == TOKblit || ex->op == TOKconstruct' failed.)
$(LI $(BUGZILLA 13027): Assertion `ex->op == TOKblit || ex->op == TOKconstruct` failed.)
$(LI $(BUGZILLA 13030): DMD assertion fails at mtype.c:697 if delegate has an argument name)
$(LI $(BUGZILLA 13034): [Reg] core.stdc.stdio - deprecation warning with dmd -inline)
$(LI $(BUGZILLA 13053): Wrong warning on implicitly generated __xtoHash)
Expand Down Expand Up @@ -812,7 +812,7 @@ $(LI $(BUGZILLA 3032): No stack allocation for "scope c = new class Object {};")
$(LI $(BUGZILLA 3109): [meta] Template ordering)
$(LI $(BUGZILLA 3490): DMD Never Inlines Functions that Could Throw)
$(LI $(BUGZILLA 3672): [tdpl] read-modify-write $(LPAREN)rmw$(RPAREN) operators must be disabled for shared)
$(LI $(BUGZILLA 4225): mangle.c:81: char* mangle$(LPAREN)Declaration*$(RPAREN): Assertion `fd && fd->inferRetType' failed.)
$(LI $(BUGZILLA 4225): mangle.c:81: char* mangle$(LPAREN)Declaration*$(RPAREN): Assertion `fd && fd->inferRetType` failed.)
$(LI $(BUGZILLA 4423): [tdpl] enums of struct types)
$(LI $(BUGZILLA 4757): A forward reference error with return of inner defined struct)
$(LI $(BUGZILLA 4791): Assigning a static array to itself should be allowed)
Expand Down Expand Up @@ -1016,7 +1016,7 @@ $(LI $(BUGZILLA 13088): Compiler segfaults with trivial case code.)
$(LI $(BUGZILLA 13089): Spurious 'is not nothrow' error on static array initialization)
$(LI $(BUGZILLA 13109): -run and -lib dmd flags conflict)
$(LI $(BUGZILLA 13116): Should not be able to return ref to 'this')
$(LI $(BUGZILLA 13131): [2.066-b3] dmd: glue.c:1492: unsigned int totym$(LPAREN)Type*$(RPAREN): Assertion `0' failed.)
$(LI $(BUGZILLA 13131): [2.066-b3] dmd: glue.c:1492: unsigned int totym$(LPAREN)Type*$(RPAREN): Assertion `0` failed.)
$(LI $(BUGZILLA 13135): IFTI fails on partially qualified argument in some cases)
$(LI $(BUGZILLA 13142): Enums on different classes confuse the compiler)
$(LI $(BUGZILLA 13161): Wrong offset of extern$(LPAREN)C++$(RPAREN) class member)
Expand Down Expand Up @@ -1313,7 +1313,7 @@ $(BUGSTITLE Installer regressions,

$(P
$(LI $(BUGZILLA 13004): /? option to cl.exe results in ICE)
$(LI $(BUGZILLA 13047): cannot stat `./icons/16/dmd-source.png': No such file or directory)
$(LI $(BUGZILLA 13047): cannot stat `./icons/16/dmd-source.png`: No such file or directory)
$(LI $(BUGZILLA 13210): libphobos2.so not being built)
$(LI $(BUGZILLA 13233): Windows installer: downloading external installers $(LPAREN)Visual D/dmc$(RPAREN) does not work)
)
Expand Down Expand Up @@ -1925,7 +1925,7 @@ $(LI $(BUGZILLA 11626): [ICE] $(LPAREN)mtype.c line 9718$(RPAREN) With missing i
$(LI $(BUGZILLA 11659): false positive goto skips initialization of variable error $(LPAREN)skipping enum initialization$(RPAREN))
$(LI $(BUGZILLA 11718): [REG2.065a] Unintended mangled names conflict of nested template structs)
$(LI $(BUGZILLA 11723): Too many "integer overflow" errors)
$(LI $(BUGZILLA 11730): associative array with Nullable!SysTime values: Called `get' on null Nullable!SysTime.)
$(LI $(BUGZILLA 11730): associative array with Nullable!SysTime values: Called `get` on null Nullable!SysTime.)
$(LI $(BUGZILLA 11751): [REG2.065a] Hex float exponents should be decimal)
$(LI $(BUGZILLA 11755): Operator <>= and !<>= with arrays make internal error in e2ir)
$(LI $(BUGZILLA 11767): doubly mixed-in struct "failed semantic analysis")
Expand Down Expand Up @@ -2100,7 +2100,7 @@ $(LI $(BUGZILLA 11286): Impure dtor makes "cannot call impure function" error, a
$(LI $(BUGZILLA 11288): dmd assertion when assigning to $(LPAREN)static$(RPAREN) opDispatch)
$(LI $(BUGZILLA 11297): [ICE]$(LPAREN)glue.c line 868$(RPAREN) with a string concat in global enum lambda)
$(LI $(BUGZILLA 11314): inline ice with tuple assignment and if/else again)
$(LI $(BUGZILLA 11317): glue.c:1218: virtual unsigned int Type::totym$(LPAREN)$(RPAREN): Assertion `0' failed.)
$(LI $(BUGZILLA 11317): glue.c:1218: virtual unsigned int Type::totym$(LPAREN)$(RPAREN): Assertion `0` failed.)
$(LI $(BUGZILLA 11322): ICE with -inline cgcs.c 221)
$(LI $(BUGZILLA 11332): ICE$(LPAREN)dt.c$(RPAREN) and missing error when interpreting an unimplemented builtin)
$(LI $(BUGZILLA 11371): core.simd and ctfe)
Expand Down Expand Up @@ -2155,7 +2155,7 @@ $(LI $(BUGZILLA 11814): Unnecessary error messages "does not match ..." on IFTI
$(LI $(BUGZILLA 11843): Template instantiated twice: failed semantic analysis)
$(LI $(BUGZILLA 11875): static if template type deduction causes infinite recursion with recursive alias this)
$(LI $(BUGZILLA 11926): Segmentation fault when using const in an enum)
$(LI $(BUGZILLA 11944): ICE$(LPAREN)expression.c$(RPAREN) Assertion `f' failed.)
$(LI $(BUGZILLA 11944): ICE$(LPAREN)expression.c$(RPAREN) Assertion `f` failed.)
$(LI $(BUGZILLA 11968): ICE$(LPAREN)expression.c$(RPAREN) Crash when deleting __FILE__)
$(LI $(BUGZILLA 11969): ICE$(LPAREN)statement.c$(RPAREN) When mixing in a array literal containing errors)
$(LI $(BUGZILLA 11974): ICE$(LPAREN)cast.c$(RPAREN) Segfault with invalid assignment)
Expand Down Expand Up @@ -3309,7 +3309,7 @@ $(LI $(BUGZILLA 10994): [REG] cannot declare statics struct with void-initialize
$(LI $(BUGZILLA 10998): [REG 2.063] compile-time postblit call check is incorrectly suppressed.)
$(LI $(BUGZILLA 11010): Regression $(LPAREN)2.063.2$(RPAREN) typeid doesn't work on a member of an instance.)
$(LI $(BUGZILLA 11039): Undefined instantiation from circular imports)
$(LI $(BUGZILLA 11054): ICE: interpret.c:357: virtual void Statement::ctfeCompile$(LPAREN)CompiledCtfeFunction*$(RPAREN): Assertion `0' failed.)
$(LI $(BUGZILLA 11054): ICE: interpret.c:357: virtual void Statement::ctfeCompile$(LPAREN)CompiledCtfeFunction*$(RPAREN): Assertion `0` failed.)
$(LI $(BUGZILLA 11062): inline ice with alias this and opIndexAssign)
$(LI $(BUGZILLA 11069): DMD $(LPAREN)github HEAD$(RPAREN) Linker Regression)
$(LI $(BUGZILLA 11081): Win64: duplicate COMDAT with failed compilation with lambdas)
Expand Down Expand Up @@ -3453,7 +3453,7 @@ $(LI $(BUGZILLA 10208): Module-level const/immutable variables with initializati
$(LI $(BUGZILLA 10211): CTFE: Support casts from S** to D**, if S* -> D* is supported.)
$(LI $(BUGZILLA 10214): Incorrect "element-wise assignment is better" warning)
$(LI $(BUGZILLA 10243): [CTFE] Wrong-code on passing dereferenced array pointer by ref)
$(LI $(BUGZILLA 10244): ICE: expression.c:8364: virtual Expression* CallExp::semantic$(LPAREN)Scope*$(RPAREN): Assertion `td' failed)
$(LI $(BUGZILLA 10244): ICE: expression.c:8364: virtual Expression* CallExp::semantic$(LPAREN)Scope*$(RPAREN): Assertion `td` failed)
$(LI $(BUGZILLA 10249): incorrect mangling for overloaded symbol)
$(LI $(BUGZILLA 10252): CTFE: Should generate error for shifts outside valid range)
$(LI $(BUGZILLA 10254): Purity correctness is broken with constructor)
Expand Down Expand Up @@ -3541,7 +3541,7 @@ $(LI $(BUGZILLA 10792): Bad diagnostic on new eponymous enum template syntax)
$(LI $(BUGZILLA 10793): Forward reference errors casting from void* to opaque struct pointer)
$(LI $(BUGZILLA 10809): [REG] darwin 32 dmd release broken)
$(LI $(BUGZILLA 10811): Order dependent IFTI failure)
$(LI $(BUGZILLA 10813): ICE$(LPAREN)DMD2.063$(RPAREN) template.c:6040: Identifier* TemplateInstance::genIdent$(LPAREN)Objects*$(RPAREN): Assertion `global.errors' failed)
$(LI $(BUGZILLA 10813): ICE$(LPAREN)DMD2.063$(RPAREN) template.c:6040: Identifier* TemplateInstance::genIdent$(LPAREN)Objects*$(RPAREN): Assertion `global.errors` failed)
$(LI $(BUGZILLA 10834): cannot use cast$(LPAREN)void$(RPAREN)expr if the type of expr is a struct)
$(LI $(BUGZILLA 10840): [CTFE] *this._data.arr is not yet implemented at compile time)
$(LI $(BUGZILLA 10842): Some integer casts wrongly remove side-effect of the operand.)
Expand Down Expand Up @@ -4370,7 +4370,7 @@ struct Foo

void main()
{
static assert(Foo.bar.get() == 0); // ok, equivalent to `typeof(Foo.bar).get()'
static assert(Foo.bar.get() == 0); // ok, equivalent to `typeof(Foo.bar).get()`
}
---------

Expand Down Expand Up @@ -5113,7 +5113,7 @@ $(LI $(BUGZILLA 10055): Incorrect attribute merging in dtor/postblit building)
$(LI $(BUGZILLA 10056): Strange Error with templates and string.format)
$(LI $(BUGZILLA 10067): [REG] Recursive template instantiation)
$(LI $(BUGZILLA 10073): Default opEquals depends on class declaration order with DMD HEAD)
$(LI $(BUGZILLA 10076): expression.c:4310: virtual Expression* TypeExp::semantic$(LPAREN)Scope*$(RPAREN): Assertion `0' failed.)
$(LI $(BUGZILLA 10076): expression.c:4310: virtual Expression* TypeExp::semantic$(LPAREN)Scope*$(RPAREN): Assertion `0` failed.)
$(LI $(BUGZILLA 10089): Strange function call error message with specified module)
$(LI $(BUGZILLA 10091): [HEAD] Cannot cast struct member string enum to static ubyte array of same size)
$(LI $(BUGZILLA 10096): Regression $(LPAREN)git-head$(RPAREN): __traits$(LPAREN)allMembers$(RPAREN) triggers out of bounds error)
Expand Down Expand Up @@ -5205,7 +5205,7 @@ $(LI $(BUGZILLA 9415): delegate inference should make function literal impure)
$(LI $(BUGZILLA 9417): "no size yet for forward reference" error with nested structure)
$(LI $(BUGZILLA 9428): Wrong array concatenation)
$(LI $(BUGZILLA 9441): struct constructor missed on auto/type-inferred variable definition)
$(LI $(BUGZILLA 9445): interpret.c:151: Assertion `v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack < stackPointer$(LPAREN)$(RPAREN)' failed.)
$(LI $(BUGZILLA 9445): interpret.c:151: Assertion `v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack < stackPointer$(LPAREN)$(RPAREN)` failed.)
$(LI $(BUGZILLA 9451): Listing abstract functions in diagnostic should show full signature)
$(LI $(BUGZILLA 9473): Unittest docs should each be in their own section)
$(LI $(BUGZILLA 9474): Ddoc'd unittests should work correctly with interspersed version$(LPAREN)none$(RPAREN))
Expand Down Expand Up @@ -6706,7 +6706,7 @@ $(VERSION 058, Feb 14, 2012, =================================================,
$(LI $(BUGZILLA 7166): Internal error: ../ztc/cgxmm.c 60)
$(LI $(BUGZILLA 7168): Regression(2.057) __traits(allMembers) returns wrong tuple)
$(LI $(BUGZILLA 7170): [UFCS] array + specialized template member syntax causes ICE)
$(LI $(BUGZILLA 7173): dmd: glue.c:1065: virtual unsigned int Type::totym(): Assertion `0' failed.)
$(LI $(BUGZILLA 7173): dmd: glue.c:1065: virtual unsigned int Type::totym(): Assertion `0` failed.)
$(LI $(BUGZILLA 7178): Segfault with import of invalid template)
$(LI $(BUGZILLA 7185): [CTFE] ICE on changing char array length)
$(LI $(BUGZILLA 7187): Regression(head 12d62ca5): [CTFE] ICE on slicing)
Expand Down Expand Up @@ -8685,7 +8685,7 @@ $(VERSION 031, July 6, 2009, =================================================,
$(LI $(BUGZILLA 2323): ICE(cgcs.c): taking address of a method of a temporary struct)
$(LI $(BUGZILLA 2399): ICE(cgcod.c) on casting function to delegate)
$(LI $(BUGZILLA 2429): std.stream.File incorrect flag parsing and sharing mode)
$(LI $(BUGZILLA 2432): complex alias -> mtype.c:125: virtual Type* Type::syntaxCopy(): Assertion `0' failed.)
$(LI $(BUGZILLA 2432): complex alias -> mtype.c:125: virtual Type* Type::syntaxCopy(): Assertion `0` failed.)
$(LI $(BUGZILLA 2603): ICE(cgcs.c) on subtracting string literals)
$(LI $(BUGZILLA 2843): ICE(constfold.c) with is-expression with invalid dot-expression in is-expression involving typeid)
$(LI $(BUGZILLA 2865): RandomCover not random)
Expand Down Expand Up @@ -9804,8 +9804,8 @@ $(BUGSFIXED
$(LI $(BUGZILLA 708): inline assembler: "CVTPS2PI mm, xmm/m128" fails to compile)
$(LI $(BUGZILLA 709): inline assembler: "CVTPD2PI mm, xmm/m128" fails to compile)
$(LI $(BUGZILLA 718): Internal error: ../ztc/cgcod.c 562)
$(LI $(BUGZILLA 723): bad mixin of class definitions at function level: func.c:535: virtual void FuncDeclaration::semantic3(Scope*): Assertion `0' failed)
$(LI $(BUGZILLA 725): expression.c:6516: virtual Expression* MinAssignExp::semantic(Scope*): Assertion `e2->type->isfloating()' failed.)
$(LI $(BUGZILLA 723): bad mixin of class definitions at function level: func.c:535: virtual void FuncDeclaration::semantic3(Scope*): Assertion `0` failed)
$(LI $(BUGZILLA 725): expression.c:6516: virtual Expression* MinAssignExp::semantic(Scope*): Assertion `e2->type->isfloating()` failed.)
$(LI $(BUGZILLA 726): incorrect error line for "override" mixin)
$(LI $(BUGZILLA 729): scope(...) statement in SwitchBody causes compiler to segfault)
$(LI $(BUGZILLA 1258): Garbage collector loses memory upon array concatenation)
Expand Down Expand Up @@ -10006,7 +10006,7 @@ $(BUGSFIXED
$(LI $(BUGZILLA 1244): Type of array length is unspecified)
$(LI $(BUGZILLA 1247): No time zone info for India)
$(LI $(BUGZILLA 1285): Exception typedefs not distinguished by catch)
$(LI $(BUGZILLA 1287): Iterating over an array of tuples causes "glue.c:710: virtual unsigned int Type::totym(): Assertion `0' failed.")
$(LI $(BUGZILLA 1287): Iterating over an array of tuples causes "glue.c:710: virtual unsigned int Type::totym(): Assertion `0` failed.")
$(LI $(BUGZILLA 1290): Two ICEs, both involving real, imaginary, ? : and +=.)
$(LI $(BUGZILLA 1291): .stringof for a class type returned from a template doesn't work)
$(LI $(BUGZILLA 1292): Template argument deduction doesn't work)
Expand Down
1 change: 1 addition & 0 deletions dlang.org.ddoc
Expand Up @@ -49,6 +49,7 @@ $(DIV ,
_=

DDLINK=$(LINK2 $1.html, $3)
DDOC_BACKQUOTED = $(D $0)
DDOC_SUMMARY = $0$(P)
DDOC_DESCRIPTION = $0$(P)
DDOC_AUTHORS = $(B Authors:)$(BR)$0$(P)
Expand Down
6 changes: 3 additions & 3 deletions lex.dd
Expand Up @@ -295,7 +295,7 @@ $(GNAME WysiwygString):
$(B r") $(GLINK WysiwygCharacters) $(B ") $(GLINK StringPostfix)$(OPT)

$(GNAME AlternateWysiwygString):
$(B `) $(GLINK WysiwygCharacters) $(B `) $(GLINK StringPostfix)$(OPT)
$(B $(BACKTICK)) $(GLINK WysiwygCharacters) $(B $(BACKTICK)) $(GLINK StringPostfix)$(OPT)

$(GNAME WysiwygCharacters):
$(GLINK WysiwygCharacter)
Expand Down Expand Up @@ -391,9 +391,9 @@ r"ab\n" // string is 4 characters,

$(P
An alternate form of wysiwyg strings are enclosed by backquotes,
the ` character. The ` character is not available on some keyboards
the $(BACKTICK) character. The $(BACKTICK) character is not available on some keyboards
and the font rendering of it is sometimes indistinguishable from
the regular ' character. Since, however, the ` is rarely used,
the regular ' character. Since, however, the $(BACKTICK) is rarely used,
it is useful to delineate strings with " in them.
)

Expand Down
2 changes: 1 addition & 1 deletion regular-expression.dd
Expand Up @@ -140,7 +140,7 @@ $(D_S Regular Expressions,
$(P The "all dates" part comes from the fact that regex has global option set, omit it to replace only the first occurrence.
As seen the replacement is controlled by format string not unlike one in C's famous printf.
The &#36;1, &#36;2, &#36;3 substituted with content of sub-expresions.
Aside from referencing sub-matches, one can include the whole part of input preceding the match via &#36;` and &#36;'
Aside from referencing sub-matches, one can include the whole part of input preceding the match via &#36;$(BACKTICK) and &#36;'
for the content following right after the match.
)
$(P Ok, now let's aim for something bigger, this time to show that $(STD regex) can do things that
Expand Down

0 comments on commit 456f9e9

Please sign in to comment.