summaryrefslogtreecommitdiff
path: root/test/files/presentation/doc
Commit message (Collapse)AuthorAgeFilesLines
* Right-bias EitherSimon Ochsenreither2016-05-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add operations like map, flatMap which assume right-bias - Deprecate {Left,Right}Projection - Deprecate left and right in favor of swap - Add contains, toOption, toTry, toSeq and filterOrElse - toSeq returns collection.immutable.Seq instead of collection.Seq - Don't add get There are no incompatible changes. The only possibility of breakage that exists is when people have added extension methods named map, flatMap etc. to Either in the past doing something different than the methods added to Either now. One detail that moved the scales in favor of deprecating LeftProjection and RightProjection was the desire to have toSeq return scala.collection.immutable.Seq instead of scala.collection.Seq like LeftProjection and RightProjection do. Therefore keeping LeftProjection and RightProjection would introduce inconsistency. filter is called filterOrElse because filtering in a for-comprehension doesn't work if the method needs an explicit argument. contains was added as safer alternative to if (either.isRight && either.right.get == $something) ... While adding filter with an implicit zero value is possible, it's dangerous as it would require that developers add a "naked" implicit value of type A to their scope and it would close the door to a future in which the Scala standard library ships with Monoid and filter could exist with an implicit Monoid parameter.
* disable flaky presentation compiler test on WindowsSeth Tisue2016-01-151-0/+6
| | | | see https://github.com/scala/scala-dev/issues/72 for details
* unset inappropriate execute bitsSeth Tisue2015-09-024-0/+0
| | | | | | | | | | I imagine these date back to old Subversion days and are probably the result of inadvertent commits from Windows users with vcs client configs. having the bit set isn't really harmful most of the time, but it's just not right, and it makes the files stand out in directory listings for no reason
* Revert "Disable flaky presentation compiler test."Iulian Dragos2014-10-034-0/+168
| | | | | | | This reverts commit 8986ee4fd56c53d563165d992185c6c532f35790. Scaladoc seems to work reliably for 2.11.x. We are using it in the IDE builds and haven't noticed any flakiness, so we'd like to get reinstate this test.
* Disable flaky presentation compiler test.Jason Zaugg2013-10-174-160/+0
| | | | | | | | Francois is investigating the root cause as part of his work on stabilizing Scaladoc preview in the IDE. The test seems to only fail on the windows nightly build. I suspect this is due to a slower or loaded machine.
* SI-7109 SI-7153 Generalize the API to get docComments: allow to force docTreesEugene Vigdorchik2013-02-245-35/+105
| | | | | | for given fragments. Don't type-check when forcing doc comments, but rather do it directly. Test the new functionality as well as better tests for the old one.
* SI-7134: don't require doc.Settings in base api of scaladoc.Eugene Vigdorchik2013-02-151-8/+6
|
* Add a request to presentation compiler to fetch doc comment information.Eugene Vigdorchik2013-02-061-0/+91
| | | | Refactor scaladoc base functionality to allow it to be mixed in with Global in the IDE.
* Extract base scaladoc functionality for the IDE.Eugene Vigdorchik2012-12-121-0/+1