| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* Visual cues for hidden pragmas in docs.
* Add hover cue
|
| |
|
|
|
| |
Fixes #8333
|
|
|
|
|
|
|
|
| |
* fix #7405 and #8195
* control pushInfoContext in semExprNoType,genStmts via a new hintExtendedContext; make NotesVerbosity computation more DRY
* addressed comments
|
| |
|
|
|
| |
Fixes #8270
|
| |
|
|
|
|
| |
Prevent some nasty linker errors if the user switches between c and cpp
backends.
|
|
|
|
|
|
| |
Make the compiler behave consistently with respect to what's written in
the manual.
Fixes #1239
|
|
|
|
|
|
|
| |
We don't really want to hash the tyInferred container since that'd make
the "real" type and its inferred counterpart produce different hashes
and types for the very same type.
Fixes #8280
|
|
|
|
|
| |
parallel (#8281)
* make runnableExamples use a private nimcache so that they can be tested in parallel
|
| |
|
|
|
| |
Fixes #7098
|
| |
|
|
|
|
|
| |
The flag should not be carried out across different parameters.
Fixes #7794
|
| |
|
|
|
|
|
|
| |
In order not to trip the optimization in genInfixCall we have to do so.
The same trick is also used in setExternName.
Fixes #8241
|
|
|
|
|
|
|
| |
Using getSysSym made the compiler pick a random `and` symbol: if the
symbol table is shuffled we may end up selecting one of the wrong
overloads.
Fixes #8246
|
|
|
|
|
|
| |
As shown in #7734 and #7733 the logic in typerel fails to determine that
`type Foo` and `type Foo` are indeed equal.
Fixes #7734
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| | |
Fixes #8172
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* deprecate `0c`, `0C` prefix for octal literals
Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for
octal literals to bring the literals in line with the behavior of
`parseOct` from parseutils.
* add `msgKind` arg to `lexMessageLitNum` for deprecation messages
* change literal tests to check all valid integer literals
Also adds the `tinvaligintegerlit3` test to test for the (still)
invalid `0O` prefix.
|
| |
| |
| | |
Fixes #6077
|
|\| |
|
| | |
|
| |
| |
| | |
Fixes #7626
|
| |
| |
| | |
Fixes #7952
|
| | |
|
| | |
|
| |
| |
| | |
Fixes #2669
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* call `semExpr` in `semIs` if node is `strLit`, fixes #8129
In case the second son of the node in `semIs` is of kind `strLit`, we
now call `semExpr` to set the `typ` field of that node.
Also removes the `t2 != tyTypeDesc` check in `isOpImpl`, since the
kind of `n[2]` is already assertet with the `internalAssert`.
* reintroduce check for `t2.kind != tyTypeDesc` to fix test case
The `internalAssert` in the `isOpImpl` doesn't check
`n.sons[2].typ.kind` as I previously read, but rather
`n.sons[2].kind`. Therefore the check for `tyTypeDesc` here is
useful. Otherwise the last test case in `isopr.nim` fails.
Also removes the flag `efDetermineType` from the call to `semExpr`.
|
| | |
|
| |
| |
| | |
Fixes #8041
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
* Fix template codegen with static parameters
Fixes #7477
* Move the test case to tstaticimportcpp
|
|
|
|
|
|
| |
Return an error symbol if the macro output has no type and a typedesc
is expected.
Fixes #7454
|
|
|
|
|
| |
Do this during the semantic pass to avoid tripping the following passes.
Fixes #6454
|
|
|
| |
Fixes #7699
|
|
|
| |
Fixes #7125
|
|
|
|
|
|
| |
* Lexer: do not accept some invalid integer literals
* Use Natural instead of uint, and result variable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add config section for Nintendo Switch
* Add compiler configuration for Nintendo Switch and it's CPU
* Add specific lib code for Nintendo Switch
* Add GC support for Nintendo Switch
* Update changelog for Nintendo Switch
* Update changelog with more info about fixed paths
* Cleaned up GC memory management a bit
* Relocate docs for Switch
* Rename aarch64NoneElfGcc to nintendoSwitchGCC
* Remove armv8a57
* Fix installer.ini
* Reuse code in linux and amd64
* Add posix defs for nintendo switch
* Add more defined sections for nintendo switch
* Remove old comment
* Add what's not supported for Nintendo Switch docs
* Make nintendoswitch == posix
* Remove DEVKITPRO references from nim.cfg
* Make PR extccomp changes
* Remove Result type alias
* Add separate switch consts file
* Update docs for nintendo switch
* Fix travis errors with undefined consts and add correct wait.h procs
|
| |
|
|\
| |
| | |
Language feature: range float types
|
| | |
|