Zahary Karadjov
dfbafff2e7
fix a compilation error in linalg
2017-04-16 02:44:58 +03:00
Zahary Karadjov
bf4ce87e5b
fix #5689
2017-04-15 02:53:28 +03:00
Zahary Karadjov
d578815963
fix #5683
2017-04-14 23:54:09 +03:00
Zahary Karadjov
8de19a7f4c
fix a parsing regression (do is still mandatory in some situations)
2017-04-14 23:48:43 +03:00
Zahary Karadjov
03770daba4
allow StmtLists to pass through semExprWithType
...
This fix was necessary in order to fix the lambda lifting used in
the "jsffi" module, which relies on turning nkStmtList into nkLambda
in a catch-all dot operator.
2017-04-11 02:22:13 +03:00
Zahary Karadjov
a3f19c87fb
lift parameter-less do block to lambdas
2017-04-10 23:58:05 +03:00
Zahary Karadjov
f7b10e213b
support post expression blocks in return and yield
2017-04-10 17:26:50 +03:00
Zahary Karadjov
8b63b84924
fix a regression in tlexerex
2017-04-10 13:06:06 +03:00
Zahary Karadjov
e7eb01ed48
fix a parsing regression (calls with do inside param lists)
...
This treatment is applied only when "do" is used, because
the code foo(x: bar) is recognized as object construction.
2017-04-10 12:08:40 +03:00
Zahary Karadjov
9ffaee3f88
fully consisent parsing between the new and the old 'do blocks'
2017-04-10 11:44:02 +03:00
Zahary Karadjov
34b2527441
the new blocks without 'do' produce compatible AST with 'do blocks'
2017-04-09 23:45:52 +03:00
Zahary Karadjov
48a1a54d1c
improve the usability of the jsffi module
...
* All JavaScript operators are usable with JsObject
* The dot operators will use native JavaScript strings
* Results returned from dot calls are consired discardable
2017-04-09 23:04:55 +03:00
Zahary Karadjov
987b522071
fix the do notation when used with procs
2017-04-09 22:59:24 +03:00
Zahary Karadjov
03172bef6f
fix #5643 ; fix #5644
2017-04-08 23:42:42 +03:00
Zahary Karadjov
e9a3ffbc3d
Restore the Nim's 0.14 proper handling of generic aliases
...
A more efficient implementation is possible by restoring the old
lifting ot tyGenericInvocation to tyGenericInst in liftTypeParam,
but this fix will suffice for now.
fixes #5087
fixes #5602
fixes #5641
fixes #5570
2017-04-08 17:28:19 +03:00
Zahary Karadjov
fceef77301
test case for #5640
2017-04-07 21:57:04 +03:00
Zahary Karadjov
0b7321651e
fix #5658
2017-04-07 21:53:27 +03:00
Zahary Karadjov
e11b3520ff
fix #5654
2017-04-07 19:35:05 +03:00
Zahary Karadjov
fb3ff64450
fix #5642
2017-04-07 19:28:52 +03:00
Zahary Karadjov
eb635d9ccf
fix #5648
2017-04-07 17:03:49 +03:00
zah
0c694d2064
Merge pull request #5564 from nim-lang/fix/4556
...
Fix/4556
2017-04-06 11:25:19 +03:00
Anatoly Galiulin
3374bcb373
parsecfg: handle streams and strings when saving or loading configuration ( #5554 )
2017-04-06 08:10:08 +02:00
Zahary Karadjov
f162214d5d
object construction: test cases and manual additions
2017-04-06 00:46:18 +03:00
Zahary Karadjov
564c0acae2
cleaned up the code and implemented proper error messages
2017-04-06 00:46:18 +03:00
Andreas Rumpf
bfaa329680
Merge branch 'devel' into araq
2017-04-04 13:38:41 +02:00
Andreas Rumpf
e21ca54b11
assignments support ': stmtList' like let/var do
2017-04-04 12:20:43 +02:00
Araq
87732f797c
fixes #5638
2017-04-04 12:08:34 +02:00
Andreas Rumpf
d587b6a25f
language addition: colon-block for expressions in let/var context
2017-04-02 23:38:55 +02:00
wt
c480505797
Fix wrong value range of ntohs ... ( #5390 )
2017-03-31 22:13:06 +02:00
Silvio
2946c7a4b9
Implementing repr for JS ( #5578 )
2017-03-31 22:00:48 +02:00
andri lim
2f9a698e87
attempt to fix #5632 typedesc typeRel regression ( #5634 )
2017-03-31 21:58:26 +02:00
andri lim
fce4b7cd62
attempt to fix #5621 #5615 generic ref object typeRel ( #5633 )
2017-03-31 21:58:09 +02:00
Andreas Rumpf
529609f7ed
Merge remote-tracking branch 'origin/concepts-rebased' into araq
2017-03-31 16:40:21 +02:00
Andreas Rumpf
0ccbc82344
Merge branch 'devel' into araq
2017-03-30 23:56:22 +02:00
Dominik Picheta
6edd100619
Merge pull request #5614 from moigagoo/fix_time_offset_in_times_js
...
Times: JS: Remove implicit UTC convesion.
2017-03-30 18:10:11 +02:00
Araq
30c99a8440
fixes #5628
2017-03-30 12:53:32 +02:00
Konstantin Molchanov
04646052ab
Merge branch 'devel' into fix_time_offset_in_times_js
2017-03-29 16:54:36 +04:00
Konstantin Molchanov
0c121b38ec
Tests: JS: Times: Fix text so that it works in timezones other then UTC+4.
...
`parse` returns TimeInfo with the local timezone, which may not be the same as the one in the original string. To compare the moments encoded in the original string and returned by `parse`, we normalize them to UTC.
2017-03-29 16:42:48 +04:00
Konstantin Molchanov
875e344be0
JS: Add yearday calculation to getLocalTime and getGMTime, so that yearday is not 0 for TimeInfo instances under JS backend. ( #5616 )
2017-03-29 12:36:04 +02:00
Andreas Rumpf
880a525566
another attempt to get travis green
2017-03-29 11:47:44 +02:00
Andreas Rumpf
3ffde39cf4
attempt to make travis OSX tests green and mandatory
2017-03-29 10:14:03 +02:00
Eugene Kabanov
3fc75b2ca4
Fix tioselectors.nim test timeouts to be executed in appveyor more stable. ( #5622 )
2017-03-29 08:32:16 +02:00
Konstantin Molchanov
35cdb42e02
Tests: Times: JS: Add test for timestamp persistence.
2017-03-27 22:08:43 +04:00
Konstantin Molchanov
cc9d282348
Tests: Times: JS: Local timezone assignment during Time to TimeInfo conversion.
2017-03-27 22:01:37 +04:00
Konstantin Molchanov
41e83f7a34
Tests: Times: JS: Fix test.
2017-03-27 21:28:31 +04:00
Konstantin Molchanov
1a5e880f5a
Tests: Times: JS: Add test for yearday attribute.
2017-03-27 21:14:02 +04:00
Andreas Rumpf
d02486aa48
compiler: better error messages ( #5613 )
2017-03-26 20:24:06 +02:00
Zahary Karadjov
b32576a59c
fix a typo
2017-03-24 17:31:12 +02:00
Zahary Karadjov
78ca4f6be4
close #3330
2017-03-24 17:07:30 +02:00
Zahary Karadjov
bec7f9398f
close #2882
2017-03-24 17:07:30 +02:00