Replace all definitions of Unit by import codeql.util.Unit

This commit is contained in:
Jeroen Ketema
2023-03-23 21:13:52 +01:00
parent 110d666010
commit a87a9438c7
15 changed files with 17 additions and 88 deletions

View File

@@ -8,5 +8,6 @@ upgrades: upgrades
dependencies:
codeql/regex: ${workspace}
codeql/tutorial: ${workspace}
codeql/util: ${workspace}
dataExtensions:
- semmle/javascript/frameworks/**/model.yml

View File

@@ -1,10 +1,3 @@
/** Provides the `Unit` class. */
/** The unit type. */
private newtype TUnit = TMkUnit()
/** The trivial type with a single element. */
class Unit extends TUnit {
/** Gets a textual representation of this element. */
string toString() { result = "Unit" }
}
import codeql.util.Unit