Skip to content

Commit faba8cc

Browse files
committed
Cumulative updates
1 parent 360bf12 commit faba8cc

30 files changed

+158
-134
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
comp.out
21
out/
32
.classpath
43
.project

.idea/codeStyleSettings.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.idea/codeStyles/Project.xml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
style = IntelliJ
1+
style = IntelliJ
22
maxColumn = 160
33
binPack.literalArgumentLists = false
44
align = none

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ lecture notes on [Static Program Analysis](http://cs.au.dk/~amoeller/spa/).
77
## Getting started
88

99
Prerequisites:
10-
- Java 8
10+
- Java 8 (or newer)
1111
- [Scala 2.12](http://www.scala-lang.org/download/)
1212
- [SBT](http://www.scala-sbt.org/)
1313

@@ -18,7 +18,7 @@ options are viable.
1818

1919
- Install the Scala and the SBT plugins in IntelliJ.
2020
- Clone this repository (File -> New -> Project from Version Control -> GitHub).
21-
**Important: due to a bug in the SBT plugin, it is important that you choose a directory name without uppercase letters, e.g. `tip` (otherwise, the following step will fail).**
21+
Choose the directory name `tip`. (**If you use another directory name, then the next step may fail!**)
2222
- IntelliJ should then detect an SBT project. Click 'Import SBT project' and follow the instructions.
2323
(If this is your first Scala project, you will need to setup the Scala SDK.)
2424
- Right-click on `Tip.scala` in `src/tip`, then select "Run 'Tip'". To supply
@@ -28,8 +28,8 @@ If you clone the repository using git instead of IntelliJ, you will need to impo
2828
(File -> New -> Project from Existing Sources).
2929
Since the `.idea` folder is then regenerated from scrach, in order to keep the
3030
inspection profiles you need to checkout the `.idea/inspectionProfiles`
31-
folder and the `.idea/codeStyleSettings.xml` file from the original repo,
32-
leaving untouched the other generated folders.
31+
folder and the `.idea/codeStyles` folder from the original repo,
32+
leaving the other generated folders untouched.
3333

3434
#### IntelliJ Scala bugs
3535

@@ -135,7 +135,7 @@ Tutorials and extensive documentation for Scala are available at [http://docs.sc
135135
Useful tips:
136136
- You can see what type Scala has inferred for an expression by selecting the expression and pressing Alt+Equals
137137
(depending on keyboard settings in Settings -> Keymap -> Scala -> Type Info).
138-
- You can see what implicit conversion Scala is applying and which ones are available by selecting an expression and pressing Ctrl+Q (depending on keyboard settings in Setting -> Keymap -> Scala -> Implicit Conversion). Expressions on which an implicit is applied are underlined.
138+
- You can see what implicit conversion Scala is applying by enabling View -> Show Implicit Hints (and View -> Expand Implicit Hints, for full information).
139139

140140
## Code style
141141

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trapExit := false
66

77
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
88

9-
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
9+
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.8"
1010
libraryDependencies += "com.regblanc" % "scala-smtlib_2.12" % "0.2.1"
1111

1212
scalaSource in Compile := baseDirectory.value / "src"

project/build.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
logLevel := Level.Warn
22

3-
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.1")
3+
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.1")

src/tip/analysis/Analysis.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ trait PointsToAnalysis extends Analysis[Unit] {
2323

2424
/**
2525
* Builds the points-to map.
26-
* For each identifier, the points-to map gives the set of locations the identifier may point to.
26+
* For each identifier, the points-to map gives the set of cells the identifier may point to.
2727
*/
2828
def pointsTo(): Map[ADeclaration, Set[AstNode]]
2929

0 commit comments

Comments
 (0)