Skip to content

Commit

Permalink
Remove class tags from Tasty reflect interface
Browse files Browse the repository at this point in the history
We found that when the implementation of those class tags
uses the same class tags, type matches are unsound.
Instead, we replace the more precise scrutinee by equivalent
extractors. In the future, we intend to  language support
for abstract type pattern matching where the scrutinee
can get a more precise type.
  • Loading branch information
nicolasstucki committed Aug 9, 2018
1 parent c1c724b commit a1e49b5
Show file tree
Hide file tree
Showing 7 changed files with 297 additions and 270 deletions.
183 changes: 103 additions & 80 deletions compiler/src/dotty/tools/dotc/tastyreflect/TastyImpl.scala

Large diffs are not rendered by default.

Loading

0 comments on commit a1e49b5

Please sign in to comment.