scala/scala — pull request #1583 by dragos (2012-11-06 16:08:02+00:00)
Title: SI-6616 Check that unsafe operations are only called on the presentation...

... compiler thread.

The method that checks the actual constraint is @elidable, expecting it to be used
for nightly builds but stripped-off in release builds. This way we don't lose any
performance, but 'fail-fast' in IDE nightlies.

This assumes that release builds will have at least `-Xelide-below ASSERTION`, but
this pull request does not do that.

review by @adriaanm, @paulp