File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
compiler/src/dotty/tools/dotc/core/classfile Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -951,15 +951,14 @@ class ClassfileParser(
951
951
else
952
952
val tastyLoader = new TastyLoader (tastyFile)
953
953
val tastyBytes : Array [Byte ] = tastyLoader.loadTastyBytes()
954
- val unpickler = tastyLoader.unpickleTASTY(tastyBytes, classRoot, moduleRoot)
955
954
val expectedUUID =
956
955
val reader = new TastyReader (bytes, 0 , 16 )
957
956
new UUID (reader.readUncompressedLong(), reader.readUncompressedLong())
958
957
val tastyUUID =
959
958
new TastyHeaderUnpickler (tastyBytes).readHeader()
960
959
if (expectedUUID != tastyUUID)
961
960
report.warning(s " $classfile is out of sync with its TASTy file. Loaded TASTy file. Try cleaning the project to fix this issue " , NoSourcePosition )
962
- return Some (unpickler)
961
+ return None
963
962
}
964
963
else
965
964
// Before 3.0.0 we had a mode where we could embed the TASTY bytes in the classfile. This has not been supported in any stable release.
You can’t perform that action at this time.
0 commit comments