From 148bbee05f31802666dbf1730e0df328ff57a384 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sat, 12 Sep 2015 21:45:48 +0100 Subject: Added some info about bugfixes to news.txt. --- web/news.txt | 190 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 190 insertions(+) diff --git a/web/news.txt b/web/news.txt index c786d7d5a..4c7f23cf6 100644 --- a/web/news.txt +++ b/web/news.txt @@ -116,6 +116,196 @@ News Bugfixes -------- + - Fixed "Compiler internal error on iterator it(T: typedesc[Base]) called with + it(Child), where Child = object of Base" + (`#2662 `_) + - Fixed "repr() misses base object field in 2nd level derived object" + (`#2749 `_) + - Fixed "nimsuggest doesn't work more than once on the non-main file" + (`#2694 `_) + - Fixed "JS Codegen. Passing arguments by var in certain cases leads to invali +d JS." + (`#2798 `_) + - Fixed ""check" proc in unittest.nim prevents the propagation of changes to v +ar parameters." + (`#964 `_) + - Fixed "Excessive letters in integer literals are not an error" + (`#2523 `_) + - Fixed "Unicode dashes as "lisp'ish" alternative to hump and snake notation" + (`#2811 `_) + - Fixed "Bad error message when trying to construct an object incorrectly" + (`#2584 `_) + - Fixed "Determination of GC safety of globals is broken " + (`#2854 `_) + - Fixed "v2 gc crashes compiler" + (`#2687 `_) + - Fixed "Compile error using object in const array" + (`#2774 `_) + - Fixed "httpclient async requests with method httpPOST isn't sending Content- +Length header" + (`#2884 `_) + - Fixed "Streams module not working with JS backend" + (`#2148 `_) + - Fixed "Sign of certain short constants is wrong" + (`#1179 `_) + - Fixed "Symlinks to directories reported as symlinks to files" + (`#1985 `_) + - Fixed "64-bit literals broken on x86" + (`#2909 `_) + - Fixed "import broken for certain names" + (`#2904 `_) + - Fixed "Invalid UTF-8 strings in JavaScript" + (`#2917 `_) + - Fixed "[JS][Codegen] Initialising object doesn't create unmentioned fields." + + (`#2617 `_) + - Fixed "Table returned from proc computed at compile time is missing keys:" + (`#2297 `_) + - Fixed "Clarify copyright status for some files" + (`#2949 `_) + - Fixed "math.nim: trigonometry: radians to degrees conversion" + (`#2881 `_) + - Fixed "xoring unsigned integers yields RangeError in certain conditions" + (`#2979 `_) + - Fixed "Directly checking equality between procs" + (`#2985 `_) + - Fixed "Compiler crashed, but there have to be meaningful error message" + (`#2974 `_) + - Fixed "repr is broken" + (`#2992 `_) + - Fixed "Ipv6 devel - add IPv6 support for asyncsockets, make AF_INET6 a defau +lt" + (`#2976 `_) + - Fixed "Compilation broken on windows" + (`#2996 `_) + - Fixed "'u64 literal conversion compiler error" + (`#2731 `_) + - Fixed "Importing 'impure' libraries while using threads causes segfaults" + (`#2672 `_) + - Fixed "Uncatched exception in async procedure on raise statement" + (`#3014 `_) + - Fixed "nim doc2 fails in Mac OS X due to system.nim (possibly related to #18 +98)" + (`#3005 `_) + - Fixed "IndexError when rebuilding Nim on iteration 2" + (`#3018 `_) + - Fixed "Assigning large const set to variable looses some information" + (`#2880 `_) + - Fixed "Inconsistent generics behavior" + (`#3022 `_) + - Fixed "Compiler breaks on float64 division" + (`#3028 `_) + - Fixed "Confusing error message comparing string to nil " + (`#2935 `_) + - Fixed "convert 64bit number to float on 32bit" + (`#1463 `_) + - Fixed "Type redefinition and construction will break nim check" + (`#3032 `_) + - Fixed "XmlParser fails on very large XML files without new lines" + (`#2429 `_) + - Fixed "Error parsing arguments with whitespaces" + (`#2874 `_) + - Fixed "Crash when missing one arg and used a named arg" + (`#2993 `_) + - Fixed "Wrong number of arguments in assert will break nim check" + (`#3044 `_) + - Fixed "Wrong const definition will break nim check" + (`#3041 `_) + - Fixed "Wrong set declaration will break nim check" + (`#3040 `_) + - Fixed "Compiler segfault (type section)" + (`#2540 `_) + - Fixed "Segmentation fault when compiling this code" + (`#3038 `_) + - Fixed "Kill nim i" + (`#2633 `_) + - Fixed "Nim check will break on wrong array declaration" + (`#3048 `_) + - Fixed "boolVal seems to be broken" + (`#3046 `_) + - Fixed "Nim check crashes on wrong set/array declaration inside ref object" + (`#3062 `_) + - Fixed "Nim check crashes on incorrect generic arg definition" + (`#3051 `_) + - Fixed "Nim check crashes on iterating nonexistent var" + (`#3053 `_) + - Fixed "Nim check crashes on wrong param set declaration + iteration" + (`#3054 `_) + - Fixed "Wrong sharing of static_t instantations" + (`#3112 `_) + - Fixed "Automatically generated proc conflicts with user-defined proc when .e +xportc.'ed" + (`#3134 `_) + - Fixed "getTypeInfo call crashes nim" + (`#3099 `_) + - Fixed "Array ptr dereference" + (`#2963 `_) + - Fixed "Internal error when `repr`-ing a type directly" + (`#3079 `_) + - Fixed "unknown type name 'TNimType' after importing typeinfo module" + (`#2841 `_) + - Fixed "Can export a template twice and from inside a block" + (`#1738 `_) + - Fixed "C Codegen: C Types are defined after their usage in certain cases" + (`#2823 `_) + - Fixed "s.high refers to the current seq instead of the old one" + (`#1832 `_) + - Fixed "Error while unmarshaling null values" + (`#3149 `_) + - Fixed "Inference of `static[T]` in sequences" + (`#3144 `_) + - Fixed "Argument named "closure" to proc inside template interfere with closu +re pragma" + (`#3171 `_) + - Fixed "Internal error with aliasing inside template" + (`#3158 `_) + - Fixed "Cardinality of sets prints unexpected value" + (`#3135 `_) + - Fixed "Nim crashes on const assignment from function returning var ref objec +t" + (`#3103 `_) + - Fixed "`repr` cstring" + (`#3080 `_) + - Fixed "Nim check crashes on wrong enum declaration" + (`#3052 `_) + - Fixed "Compiler assertion when evaluating template with static[T]" + (`#1858 `_) + - Fixed "Erroneous overflow in iterators when compiler built with overflowChec +ks enabled" + (`#3140 `_) + - Fixed "Unicode dashes as "lisp'ish" alternative to hump and snake notation" + (`#2811 `_) + - Fixed "Calling discardable proc from a defer is an error." + (`#3185 `_) + - Fixed "Defer statement at the end of a block produces ICE" + (`#3186 `_) + - Fixed "Call to `createU` fails to compile" + (`#3193 `_) + - Fixed "VM crash when accessing array's element" + (`#3192 `_) + - Fixed "Unexpected proc invoked when different modules add procs to a type fr +om a 3rd module" + (`#2664 `_) + - Fixed "Nim crashes on conditional declaration inside a template" + (`#2670 `_) + - Fixed "Iterator names conflict within different scopes" + (`#2752 `_) + - Fixed "VM: Cannot assign int value to ref variable" + (`#1329 `_) + - Fixed "Incorrect code generated for tagged unions with enums not starting at + zero" + (`#3096 `_) + - Fixed "Compile time procs using forward declarations are silently ignored" + (`#3066 `_) + - Fixed "re binding error in generic" + (`#1965 `_) + - Fixed "os.getCreationTime is incorrect/impossible on Posix systems" + (`#1058 `_) + - Fixed "Improve error message for osproc.startProcess when command does not e +xist" + (`#2183 `_) + - Fixed "gctest segfaults with --gc:markandsweep on x86_64" + (`#2305 `_) 2015-05-04 Version 0.11.2 released -- cgit 1.4.1-2-gfad0 From bbe4afc49bcab87cf6abda4fedb49e1010e29b12 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 13 Sep 2015 23:48:31 +0200 Subject: fixes #1782 --- doc/manual/procs.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/manual/procs.txt b/doc/manual/procs.txt index 9d00b7e3c..ee74b2ea6 100644 --- a/doc/manual/procs.txt +++ b/doc/manual/procs.txt @@ -137,6 +137,14 @@ to supply any type of first argument for procedures: Another way to look at the method call syntax is that it provides the missing postfix notation. +The method call syntax conflicts with explicit generic instantiations: +``p[T](x)`` cannot be written as ``x.p[T]`` because ``x.p[T]`` is always +parsed as ``(x.p)[T]``. + +**Future directions**: ``p[.T.]`` might be introduced as an alternative syntax +to pass explict types to a generic and then ``x.p[.T.]`` can be parsed as +``x.(p[.T.])``. + See also: `Limitations of the method call syntax`_. -- cgit 1.4.1-2-gfad0