Skip to content

Commit

Permalink
Compilers: try to fix NPE
Browse files Browse the repository at this point in the history
Today I got NPE several times by accessing presentation compiler.
It's hard to reproduce now, but @tgodzik suggested that it's probably might
be the reason. `computeIfAbsent` might return null in some cases.
  • Loading branch information
dos65 committed Oct 25, 2021
1 parent 48d77af commit b21707e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ class Compilers(
}
}
)
Some(out)
Option(out)
}
}

Expand Down

0 comments on commit b21707e

Please sign in to comment.