Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 2, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

slavapestov and others added 10 commits September 29, 2020 23:38
…calDecls()

This will be used to implement re-declaration checking for local
declarations. Currently this is handled by parse-time lookup.

To make it work with ASTScope, we need to perform lookups that
look into the innermost local scope only; for example, this is
an invalid redeclaration:

do {
  let x = 321
  let x = 123
}

But the following is fine, even though both VarDecls are in the same
*DeclContext*:

do {
  let x = 321
  do {
    let x = 123
  }
}
…parser lookup is off

The existing redeclaration checking can be extended for declarations in
local scope, but it won't catch these.
…on-checking

Implement re-declaration checking for declarations in local context
[Docs] Convert TypeChecker.rst to Markdown
@kateinoigakukun kateinoigakukun merged commit c536b0b into swiftwasm Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants