firefly-compiler 0.4.67 → 0.4.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lsp/TestReferences.ff +2 -1
- package/package.json +1 -1
- package/postgresql/Pg.ff +1 -1
- package/vscode/package.json +1 -1
package/lsp/TestReferences.ff
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Handler
|
|
2
|
+
import DependencyLock from ff:compiler
|
|
2
3
|
import Syntax from ff:compiler
|
|
3
4
|
import ModuleCache from ff:compiler
|
|
4
5
|
|
|
@@ -7,7 +8,7 @@ nodeMain(system: NodeSystem) {
|
|
|
7
8
|
let fireflyPath = system.path(".")
|
|
8
9
|
Log.debug(fireflyPath.absolute())
|
|
9
10
|
let cache = ModuleCache.new(0)
|
|
10
|
-
let handler = Handler(fireflyPath, None, Map.new(), [].toSet(), Map.new(), Map.new(), cache)
|
|
11
|
+
let handler = Handler(fireflyPath, None, Map.new(), [].toSet(), Map.new(), Map.new(), cache, DependencyLock.new(system.mainTask()))
|
|
11
12
|
let targetAt = Location("/home/werk/projects/firefly-boot/lsp/TestReferencesCase.ff", 7, 5)
|
|
12
13
|
let references = handler.findReferences(system, targetAt, local = False, includeDeclaration = True, version = 0)
|
|
13
14
|
Log.show(references)
|
package/package.json
CHANGED
package/postgresql/Pg.ff
CHANGED
|
@@ -488,7 +488,7 @@ internalParseParameters(statementSql: String): Pair[String, List[String]] {
|
|
|
488
488
|
|
|
489
489
|
main(system: NodeSystem): Unit {
|
|
490
490
|
|
|
491
|
-
let pool =
|
|
491
|
+
let pool = newPool(
|
|
492
492
|
system = system
|
|
493
493
|
host = system.arguments().grab(0)
|
|
494
494
|
database = system.arguments().grab(1)
|