Skip to content

Commit

Permalink
Typed gerbil improvements (#1206)
Browse files Browse the repository at this point in the history
Fixes 3 issues/bugs in typed gerbil:
- references in class slot types would not expand; see the regression
test
- types for mutable bindings are now inferred, as the greatest commong
type of the original value and the mutation; this allows us to remove
some casts -- see the unit test and the changes in loader.
- (most important) specializer generation was broken by the introduction
of the implicit using for methods; this is now fixed and has a
regression test so that it doesn't happen again in the future.
  • Loading branch information
vyzo authored Apr 10, 2024
1 parent 7c5753b commit af517fc
Show file tree
Hide file tree
Showing 130 changed files with 106,847 additions and 104,089 deletions.
221 changes: 138 additions & 83 deletions src/bootstrap/gerbil/builtin.ssxi.ss

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions src/bootstrap/gerbil/compiler/base.ssxi.ss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

503 changes: 254 additions & 249 deletions src/bootstrap/gerbil/compiler/base~0.scm

Large diffs are not rendered by default.

550 changes: 275 additions & 275 deletions src/bootstrap/gerbil/compiler/base~1.scm

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/bootstrap/gerbil/compiler/compile.ssxi.ss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit af517fc

Please sign in to comment.