firefly-compiler 0.5.35 → 0.5.37
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/.hintrc +4 -4
- package/.vscode/settings.json +4 -4
- package/bin/Release.ff +157 -154
- package/bin/firefly.mjs +1 -1
- package/compiler/Builder.ff +275 -277
- package/compiler/Compiler.ff +234 -233
- package/compiler/Dependencies.ff +186 -187
- package/compiler/DependencyLock.ff +17 -17
- package/compiler/Deriver.ff +23 -31
- package/compiler/Dictionaries.ff +1 -1
- package/compiler/Inference.ff +43 -20
- package/compiler/JsEmitter.ff +1437 -1282
- package/compiler/LspHook.ff +202 -202
- package/compiler/Main.ff +25 -24
- package/compiler/ModuleCache.ff +178 -178
- package/compiler/Parser.ff +36 -109
- package/compiler/Resolver.ff +5 -8
- package/compiler/Substitution.ff +1 -1
- package/compiler/Syntax.ff +1 -16
- package/compiler/Token.ff +9 -0
- package/compiler/Tokenizer.ff +4 -0
- package/compiler/Workspace.ff +88 -88
- package/core/.firefly/include/package.json +5 -5
- package/core/.firefly/package.ff +2 -2
- package/core/Any.ff +26 -30
- package/core/Array.ff +298 -265
- package/core/Atomic.ff +63 -64
- package/core/Box.ff +7 -7
- package/core/BrowserSystem.ff +40 -40
- package/core/Buffer.ff +185 -152
- package/core/BuildSystem.ff +156 -148
- package/core/Channel.ff +95 -92
- package/core/Char.ff +3 -2
- package/core/Core.ff +16 -23
- package/core/Crypto.ff +94 -96
- package/core/Equal.ff +41 -36
- package/core/Error.ff +15 -10
- package/core/FileHandle.ff +45 -37
- package/core/Float.ff +176 -200
- package/core/HttpClient.ff +142 -148
- package/core/Instant.ff +6 -8
- package/core/Int.ff +40 -24
- package/core/IntMap.ff +61 -39
- package/core/Js.ff +305 -0
- package/core/JsSystem.ff +135 -114
- package/core/JsValue.ff +303 -159
- package/core/Json.ff +423 -443
- package/core/List.ff +482 -486
- package/core/Lock.ff +108 -144
- package/core/Log.ff +25 -14
- package/core/NodeSystem.ff +198 -191
- package/core/Ordering.ff +160 -161
- package/core/Path.ff +377 -409
- package/core/Queue.ff +90 -0
- package/core/Random.ff +140 -134
- package/core/RbMap.ff +216 -216
- package/core/Serializable.ff +16 -13
- package/core/Show.ff +44 -43
- package/core/SourceLocation.ff +68 -68
- package/core/Stream.ff +1 -1
- package/core/String.ff +224 -202
- package/core/StringMap.ff +58 -36
- package/core/Task.ff +165 -149
- package/experimental/benchmarks/ListGrab.ff +23 -23
- package/experimental/benchmarks/ListGrab.java +55 -55
- package/experimental/benchmarks/Pyrotek45.ff +30 -30
- package/experimental/benchmarks/Pyrotek45.java +64 -64
- package/experimental/bidirectional/Bidi.ff +88 -88
- package/experimental/lines/Main.ff +40 -0
- package/experimental/random/Index.ff +53 -53
- package/experimental/random/Process.ff +120 -120
- package/experimental/random/RunLength.ff +65 -65
- package/experimental/random/Scrape.ff +51 -51
- package/experimental/random/Symbols.ff +73 -73
- package/experimental/random/Tensor.ff +52 -52
- package/experimental/random/Units.ff +36 -36
- package/experimental/s3/S3TestAuthorizationHeader.ff +39 -39
- package/experimental/s3/S3TestPut.ff +16 -16
- package/experimental/tests/TestJson.ff +26 -26
- package/firefly.sh +0 -0
- package/fireflysite/.firefly/package.ff +4 -4
- package/fireflysite/CommunityOverview.ff +20 -20
- package/fireflysite/CountingButtonDemo.ff +58 -58
- package/fireflysite/DocumentParser.ff +325 -331
- package/fireflysite/ExamplesOverview.ff +40 -40
- package/fireflysite/FrontPage.ff +344 -344
- package/fireflysite/GettingStarted.ff +45 -45
- package/fireflysite/Guide.ff +456 -456
- package/fireflysite/Main.ff +163 -152
- package/fireflysite/MatchingPasswordsDemo.ff +82 -82
- package/fireflysite/PackagesOverview.ff +49 -49
- package/fireflysite/PostgresqlDemo.ff +34 -34
- package/fireflysite/ReferenceAll.ff +18 -18
- package/fireflysite/ReferenceIntroduction.ff +11 -11
- package/fireflysite/Styles.ff +567 -567
- package/fireflysite/Test.ff +121 -62
- package/fireflysite/assets/markdown/reference/BaseTypes.md +209 -209
- package/fireflysite/assets/markdown/reference/EmittedJavascript.md +65 -65
- package/fireflysite/assets/markdown/reference/Exceptions.md +101 -101
- package/fireflysite/assets/markdown/reference/FunctionsAndMethods.md +364 -364
- package/fireflysite/assets/markdown/reference/JavascriptInterop.md +235 -172
- package/fireflysite/assets/markdown/reference/ModulesAndPackages.md +162 -162
- package/fireflysite/assets/markdown/reference/OldStructuredConcurrency.md +48 -48
- package/fireflysite/assets/markdown/reference/PatternMatching.md +224 -224
- package/fireflysite/assets/markdown/reference/StatementsAndExpressions.md +86 -86
- package/fireflysite/assets/markdown/reference/StructuredConcurrency.md +99 -99
- package/fireflysite/assets/markdown/reference/TraitsAndInstances.md +100 -100
- package/fireflysite/assets/markdown/reference/UserDefinedTypes.md +184 -184
- package/fireflysite/assets/markdown/scratch/ControlFlow.md +136 -136
- package/fireflysite/assets/markdown/scratch/Toc.md +40 -40
- package/lsp/.firefly/package.ff +1 -1
- package/lsp/CompletionHandler.ff +827 -827
- package/lsp/Handler.ff +714 -714
- package/lsp/HoverHandler.ff +79 -79
- package/lsp/LanguageServer.ff +272 -272
- package/lsp/SignatureHelpHandler.ff +55 -55
- package/lsp/SymbolHandler.ff +181 -181
- package/lsp/TestReferences.ff +17 -17
- package/lsp/TestReferencesCase.ff +7 -7
- package/lsp/stderr.txt +1 -1
- package/lsp/stdout.txt +34 -34
- package/lux/.firefly/package.ff +1 -1
- package/lux/Css.ff +648 -648
- package/lux/CssTest.ff +48 -48
- package/lux/Lux.ff +608 -617
- package/lux/LuxEvent.ff +79 -116
- package/lux/Main.ff +123 -123
- package/lux/Main2.ff +143 -143
- package/lux/TestDry.ff +28 -28
- package/output/js/ff/compiler/Builder.mjs +72 -71
- package/output/js/ff/compiler/Compiler.mjs +19 -13
- package/output/js/ff/compiler/Dependencies.mjs +8 -7
- package/output/js/ff/compiler/DependencyLock.mjs +6 -4
- package/output/js/ff/compiler/Deriver.mjs +26 -24
- package/output/js/ff/compiler/Dictionaries.mjs +14 -18
- package/output/js/ff/compiler/Environment.mjs +6 -4
- package/output/js/ff/compiler/Inference.mjs +238 -164
- package/output/js/ff/compiler/JsEmitter.mjs +1160 -350
- package/output/js/ff/compiler/JsImporter.mjs +20 -18
- package/output/js/ff/compiler/LspHook.mjs +12 -10
- package/output/js/ff/compiler/Main.mjs +61 -41
- package/output/js/ff/compiler/ModuleCache.mjs +10 -8
- package/output/js/ff/compiler/Parser.mjs +153 -669
- package/output/js/ff/compiler/Patterns.mjs +12 -10
- package/output/js/ff/compiler/Resolver.mjs +52 -78
- package/output/js/ff/compiler/Substitution.mjs +12 -16
- package/output/js/ff/compiler/Syntax.mjs +50 -341
- package/output/js/ff/compiler/Token.mjs +126 -4
- package/output/js/ff/compiler/Tokenizer.mjs +62 -52
- package/output/js/ff/compiler/Unification.mjs +74 -90
- package/output/js/ff/compiler/Wildcards.mjs +4 -2
- package/output/js/ff/compiler/Workspace.mjs +26 -20
- package/output/js/ff/core/Any.mjs +20 -20
- package/output/js/ff/core/Array.mjs +268 -175
- package/output/js/ff/core/AssetSystem.mjs +8 -6
- package/output/js/ff/core/Atomic.mjs +84 -52
- package/output/js/ff/core/Bool.mjs +6 -4
- package/output/js/ff/core/BrowserSystem.mjs +38 -29
- package/output/js/ff/core/Buffer.mjs +285 -133
- package/output/js/ff/core/BuildSystem.mjs +36 -56
- package/output/js/ff/core/Channel.mjs +250 -97
- package/output/js/ff/core/Char.mjs +5 -3
- package/output/js/ff/core/Core.mjs +28 -34
- package/output/js/ff/core/Crypto.mjs +30 -52
- package/output/js/ff/core/Duration.mjs +4 -2
- package/output/js/ff/core/Equal.mjs +14 -12
- package/output/js/ff/core/Error.mjs +17 -11
- package/output/js/ff/core/FileHandle.mjs +76 -38
- package/output/js/ff/core/Float.mjs +92 -160
- package/output/js/ff/core/HttpClient.mjs +208 -76
- package/output/js/ff/core/Instant.mjs +8 -10
- package/output/js/ff/core/Int.mjs +36 -26
- package/output/js/ff/core/IntMap.mjs +79 -33
- package/output/js/ff/core/Js.mjs +751 -0
- package/output/js/ff/core/JsSystem.mjs +54 -60
- package/output/js/ff/core/JsValue.mjs +294 -143
- package/output/js/ff/core/Json.mjs +443 -253
- package/output/js/ff/core/List.mjs +262 -214
- package/output/js/ff/core/Lock.mjs +156 -125
- package/output/js/ff/core/Log.mjs +20 -10
- package/output/js/ff/core/Map.mjs +10 -8
- package/output/js/ff/core/NodeSystem.mjs +189 -123
- package/output/js/ff/core/Nothing.mjs +4 -2
- package/output/js/ff/core/Option.mjs +40 -38
- package/output/js/ff/core/Ordering.mjs +26 -20
- package/output/js/ff/core/Pair.mjs +4 -2
- package/output/js/ff/core/Path.mjs +517 -315
- package/output/js/ff/core/Queue.mjs +306 -0
- package/output/js/ff/core/Random.mjs +141 -77
- package/output/js/ff/core/RbMap.mjs +36 -34
- package/output/js/ff/core/Serializable.mjs +44 -28
- package/output/js/ff/core/Set.mjs +6 -4
- package/output/js/ff/core/Show.mjs +8 -6
- package/output/js/ff/core/SourceLocation.mjs +4 -2
- package/output/js/ff/core/Stream.mjs +30 -50
- package/output/js/ff/core/String.mjs +263 -172
- package/output/js/ff/core/StringMap.mjs +77 -31
- package/output/js/ff/core/Task.mjs +91 -76
- package/output/js/ff/core/Try.mjs +20 -18
- package/output/js/ff/core/Unit.mjs +4 -2
- package/package.json +1 -1
- package/postgresql/Pg.ff +53 -59
- package/rpc/.firefly/package.ff +1 -1
- package/rpc/Rpc.ff +70 -70
- package/s3/.firefly/package.ff +1 -1
- package/s3/S3.ff +92 -94
- package/vscode/LICENSE.txt +21 -21
- package/vscode/Prepublish.ff +15 -15
- package/vscode/README.md +16 -16
- package/vscode/client/package-lock.json +544 -544
- package/vscode/client/package.json +22 -22
- package/vscode/client/src/extension.ts +104 -104
- package/vscode/icons/firefly-icon.svg +10 -10
- package/vscode/language-configuration.json +61 -61
- package/vscode/package-lock.json +3623 -3623
- package/vscode/package.json +1 -1
- package/vscode/snippets.json +241 -241
- package/vscode/syntaxes/firefly-markdown-injection.json +45 -45
- package/webserver/.firefly/include/package.json +5 -5
- package/webserver/.firefly/package.ff +2 -2
- package/webserver/WebServer.ff +647 -685
- package/websocket/.firefly/package.ff +1 -1
- package/websocket/WebSocket.ff +100 -131
- package/core/UnsafeJs.ff +0 -42
- package/output/js/ff/core/UnsafeJs.mjs +0 -191
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import * as ff_core_Any from "../../ff/core/Any.mjs"
|
|
4
|
+
|
|
5
|
+
import * as ff_core_Array from "../../ff/core/Array.mjs"
|
|
6
|
+
|
|
7
|
+
import * as ff_core_AssetSystem from "../../ff/core/AssetSystem.mjs"
|
|
8
|
+
|
|
9
|
+
import * as ff_core_Atomic from "../../ff/core/Atomic.mjs"
|
|
10
|
+
|
|
11
|
+
import * as ff_core_Bool from "../../ff/core/Bool.mjs"
|
|
12
|
+
|
|
13
|
+
import * as ff_core_BrowserSystem from "../../ff/core/BrowserSystem.mjs"
|
|
14
|
+
|
|
15
|
+
import * as ff_core_Buffer from "../../ff/core/Buffer.mjs"
|
|
16
|
+
|
|
17
|
+
import * as ff_core_BuildSystem from "../../ff/core/BuildSystem.mjs"
|
|
18
|
+
|
|
19
|
+
import * as ff_core_Channel from "../../ff/core/Channel.mjs"
|
|
20
|
+
|
|
21
|
+
import * as ff_core_Char from "../../ff/core/Char.mjs"
|
|
22
|
+
|
|
23
|
+
import * as ff_core_Core from "../../ff/core/Core.mjs"
|
|
24
|
+
|
|
25
|
+
import * as ff_core_Crypto from "../../ff/core/Crypto.mjs"
|
|
26
|
+
|
|
27
|
+
import * as ff_core_Duration from "../../ff/core/Duration.mjs"
|
|
28
|
+
|
|
29
|
+
import * as ff_core_Equal from "../../ff/core/Equal.mjs"
|
|
30
|
+
|
|
31
|
+
import * as ff_core_Error from "../../ff/core/Error.mjs"
|
|
32
|
+
|
|
33
|
+
import * as ff_core_FileHandle from "../../ff/core/FileHandle.mjs"
|
|
34
|
+
|
|
35
|
+
import * as ff_core_Float from "../../ff/core/Float.mjs"
|
|
36
|
+
|
|
37
|
+
import * as ff_core_HttpClient from "../../ff/core/HttpClient.mjs"
|
|
38
|
+
|
|
39
|
+
import * as ff_core_Instant from "../../ff/core/Instant.mjs"
|
|
40
|
+
|
|
41
|
+
import * as ff_core_Int from "../../ff/core/Int.mjs"
|
|
42
|
+
|
|
43
|
+
import * as ff_core_IntMap from "../../ff/core/IntMap.mjs"
|
|
44
|
+
|
|
45
|
+
import * as ff_core_Js from "../../ff/core/Js.mjs"
|
|
46
|
+
|
|
47
|
+
import * as ff_core_JsSystem from "../../ff/core/JsSystem.mjs"
|
|
48
|
+
|
|
49
|
+
import * as ff_core_JsValue from "../../ff/core/JsValue.mjs"
|
|
50
|
+
|
|
51
|
+
import * as ff_core_Json from "../../ff/core/Json.mjs"
|
|
52
|
+
|
|
53
|
+
import * as ff_core_List from "../../ff/core/List.mjs"
|
|
54
|
+
|
|
55
|
+
import * as ff_core_Lock from "../../ff/core/Lock.mjs"
|
|
56
|
+
|
|
57
|
+
import * as ff_core_Log from "../../ff/core/Log.mjs"
|
|
58
|
+
|
|
59
|
+
import * as ff_core_Map from "../../ff/core/Map.mjs"
|
|
60
|
+
|
|
61
|
+
import * as ff_core_NodeSystem from "../../ff/core/NodeSystem.mjs"
|
|
62
|
+
|
|
63
|
+
import * as ff_core_Nothing from "../../ff/core/Nothing.mjs"
|
|
64
|
+
|
|
65
|
+
import * as ff_core_Option from "../../ff/core/Option.mjs"
|
|
66
|
+
|
|
67
|
+
import * as ff_core_Ordering from "../../ff/core/Ordering.mjs"
|
|
68
|
+
|
|
69
|
+
import * as ff_core_Pair from "../../ff/core/Pair.mjs"
|
|
70
|
+
|
|
71
|
+
import * as ff_core_Path from "../../ff/core/Path.mjs"
|
|
72
|
+
|
|
73
|
+
import * as ff_core_Queue from "../../ff/core/Queue.mjs"
|
|
74
|
+
|
|
75
|
+
import * as ff_core_Random from "../../ff/core/Random.mjs"
|
|
76
|
+
|
|
77
|
+
import * as ff_core_Serializable from "../../ff/core/Serializable.mjs"
|
|
78
|
+
|
|
79
|
+
import * as ff_core_Set from "../../ff/core/Set.mjs"
|
|
80
|
+
|
|
81
|
+
import * as ff_core_Show from "../../ff/core/Show.mjs"
|
|
82
|
+
|
|
83
|
+
import * as ff_core_SourceLocation from "../../ff/core/SourceLocation.mjs"
|
|
84
|
+
|
|
85
|
+
import * as ff_core_Stream from "../../ff/core/Stream.mjs"
|
|
86
|
+
|
|
87
|
+
import * as ff_core_String from "../../ff/core/String.mjs"
|
|
88
|
+
|
|
89
|
+
import * as ff_core_StringMap from "../../ff/core/StringMap.mjs"
|
|
90
|
+
|
|
91
|
+
import * as ff_core_Task from "../../ff/core/Task.mjs"
|
|
92
|
+
|
|
93
|
+
import * as ff_core_Try from "../../ff/core/Try.mjs"
|
|
94
|
+
|
|
95
|
+
import * as ff_core_Unit from "../../ff/core/Unit.mjs"
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
export function jsSystem_() {
|
|
102
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function import_(module_) {
|
|
106
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function browserImport_(module_) {
|
|
110
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function dynamicImport_(module_) {
|
|
114
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function await_(promise_) {
|
|
118
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function async0_(body_) {
|
|
122
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function async1_(body_) {
|
|
126
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function async2_(body_) {
|
|
130
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function async3_(body_) {
|
|
134
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function async4_(body_) {
|
|
138
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function async5_(body_) {
|
|
142
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function async6_(body_) {
|
|
146
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function async7_(body_) {
|
|
150
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function async8_(body_) {
|
|
154
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export function async9_(body_) {
|
|
158
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export function inAsync_() {
|
|
162
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function inBrowser_() {
|
|
166
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function inNode_() {
|
|
170
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export function inBuild_() {
|
|
174
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function currentTask_() {
|
|
178
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export function throwIfCancelled_() {
|
|
182
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export function cancelled_() {
|
|
186
|
+
if(false) {
|
|
187
|
+
return $task.controller_.signal.aborted
|
|
188
|
+
} else {
|
|
189
|
+
return false
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export function controller_() {
|
|
194
|
+
return $task.controller_
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export function setController_(controller_) {
|
|
198
|
+
$task.controller_ = controller_
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export function withSignal_(body_) {
|
|
202
|
+
const controller_ = $task.controller_;
|
|
203
|
+
try {
|
|
204
|
+
return body_(controller_.signal)
|
|
205
|
+
} finally {
|
|
206
|
+
if(controller_.signal.aborted) {
|
|
207
|
+
($task.controller_ = (new AbortController()))
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export function awaitCancellablePromise_(body_) {
|
|
213
|
+
;
|
|
214
|
+
return (new Promise(((resolve_, reject_) => {
|
|
215
|
+
let settled_ = false;
|
|
216
|
+
const cleanups_ = ff_core_Array.new_();
|
|
217
|
+
const doResolve_ = ((v_) => {
|
|
218
|
+
if((!settled_)) {
|
|
219
|
+
settled_ = true;
|
|
220
|
+
try {
|
|
221
|
+
for(let for_a = cleanups_.array, for_i = 0, for_l = for_a.length; for_i < for_l; for_i++) {
|
|
222
|
+
const c_ = for_a[for_i];
|
|
223
|
+
c_(true)
|
|
224
|
+
};
|
|
225
|
+
resolve_(v_)
|
|
226
|
+
} catch(e_) {
|
|
227
|
+
reject_(e_)
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
const doReject_ = ((v_) => {
|
|
232
|
+
if((!settled_)) {
|
|
233
|
+
settled_ = true;
|
|
234
|
+
try {
|
|
235
|
+
for(let for_a = cleanups_.array, for_i = 0, for_l = for_a.length; for_i < for_l; for_i++) {
|
|
236
|
+
const c_ = for_a[for_i];
|
|
237
|
+
c_(false)
|
|
238
|
+
};
|
|
239
|
+
reject_(v_)
|
|
240
|
+
} catch(e_) {
|
|
241
|
+
reject_(e_)
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
const jsReject_ = ((e_) => {
|
|
246
|
+
return doReject_(e_)
|
|
247
|
+
});
|
|
248
|
+
const controller_ = $task.controller_;
|
|
249
|
+
controller_.signal.addEventListener("abort", jsReject_);
|
|
250
|
+
cleanups_.array.push(((_) => {
|
|
251
|
+
controller_.signal.removeEventListener("abort", jsReject_)
|
|
252
|
+
}));
|
|
253
|
+
return body_(doResolve_, doReject_, ((cleanup_) => {
|
|
254
|
+
cleanups_.array.push(cleanup_)
|
|
255
|
+
}))
|
|
256
|
+
})))
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export function value_(value_) {
|
|
260
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export function fromValue_(value_) {
|
|
264
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export function throw_(value_) {
|
|
268
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export function unaryOperator_(operator_, a1_, ff_core_JsValue_IsJsValue$T1) {
|
|
272
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export function binaryOperator_(operator_, a1_, a2_, ff_core_JsValue_IsJsValue$T1, ff_core_JsValue_IsJsValue$T2) {
|
|
276
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export function shortCircuitingOperator_(operator_, a1_, a2_, ff_core_JsValue_IsJsValue$T1, ff_core_JsValue_IsJsValue$T2) {
|
|
280
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export function rawIdentifier_(operator_) {
|
|
284
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export function globalThis_() {
|
|
288
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export function get_(key_) {
|
|
292
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export function set_(key_, value_, ff_core_JsValue_IsJsValue$V) {
|
|
296
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export function increment_(key_, value_, ff_core_JsValue_IsJsValue$V) {
|
|
300
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export function decrement_(key_, value_, ff_core_JsValue_IsJsValue$V) {
|
|
304
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export function call0_(name_) {
|
|
308
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export function call1_(name_, a1_, ff_core_JsValue_IsJsValue$A1) {
|
|
312
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export function call2_(name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2) {
|
|
316
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export function call3_(name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3) {
|
|
320
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export function call4_(name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4) {
|
|
324
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export function call5_(name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5) {
|
|
328
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export function call6_(name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6) {
|
|
332
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export function call7_(name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7) {
|
|
336
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export function call8_(name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8) {
|
|
340
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export function call9_(name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9) {
|
|
344
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export function null_() {
|
|
348
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export function undefined_() {
|
|
352
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export function orUndefined_(value_, ff_core_JsValue_IsJsValue$T) {
|
|
356
|
+
{
|
|
357
|
+
const _1 = value_;
|
|
358
|
+
if(_1.None) {
|
|
359
|
+
return (void 0)
|
|
360
|
+
}
|
|
361
|
+
{
|
|
362
|
+
const v_ = _1.value_;
|
|
363
|
+
return v_
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export function object_() {
|
|
369
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export function new0_() {
|
|
373
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export function array_(values_) {
|
|
377
|
+
return values_
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export function json_(value_) {
|
|
381
|
+
return value_
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export function function0_(body_) {
|
|
385
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export function function1_(body_) {
|
|
389
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export function function2_(body_) {
|
|
393
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export function function3_(body_) {
|
|
397
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export function function4_(body_) {
|
|
401
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export function function5_(body_) {
|
|
405
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export function function6_(body_) {
|
|
409
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export function function7_(body_) {
|
|
413
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export function function8_(body_) {
|
|
417
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export function function9_(body_) {
|
|
421
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export async function jsSystem_$($task) {
|
|
425
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export async function import_$(module_, $task) {
|
|
429
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export async function browserImport_$(module_, $task) {
|
|
433
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export async function dynamicImport_$(module_, $task) {
|
|
437
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export async function await_$(promise_, $task) {
|
|
441
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export async function async0_$(body_, $task) {
|
|
445
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export async function async1_$(body_, $task) {
|
|
449
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export async function async2_$(body_, $task) {
|
|
453
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export async function async3_$(body_, $task) {
|
|
457
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export async function async4_$(body_, $task) {
|
|
461
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export async function async5_$(body_, $task) {
|
|
465
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export async function async6_$(body_, $task) {
|
|
469
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export async function async7_$(body_, $task) {
|
|
473
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export async function async8_$(body_, $task) {
|
|
477
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export async function async9_$(body_, $task) {
|
|
481
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export async function inAsync_$($task) {
|
|
485
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export async function inBrowser_$($task) {
|
|
489
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export async function inNode_$($task) {
|
|
493
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export async function inBuild_$($task) {
|
|
497
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export async function currentTask_$($task) {
|
|
501
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export async function throwIfCancelled_$($task) {
|
|
505
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export async function cancelled_$($task) {
|
|
509
|
+
if(true) {
|
|
510
|
+
return $task.controller_.signal.aborted
|
|
511
|
+
} else {
|
|
512
|
+
return false
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export async function controller_$($task) {
|
|
517
|
+
return $task.controller_
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export async function setController_$(controller_, $task) {
|
|
521
|
+
$task.controller_ = controller_
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export async function withSignal_$(body_, $task) {
|
|
525
|
+
const controller_ = $task.controller_;
|
|
526
|
+
try {
|
|
527
|
+
return (await body_(controller_.signal, $task))
|
|
528
|
+
} finally {
|
|
529
|
+
if(controller_.signal.aborted) {
|
|
530
|
+
($task.controller_ = (new AbortController()))
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export async function awaitCancellablePromise_$(body_, $task) {
|
|
536
|
+
ff_core_Task.Task_throwIfAborted($task);
|
|
537
|
+
return (await (new Promise((async (a_1, a_2) => await (async (resolve_, reject_, $task) => {
|
|
538
|
+
let settled_ = false;
|
|
539
|
+
const cleanups_ = ff_core_Array.new_();
|
|
540
|
+
const doResolve_ = (async (v_, $task) => {
|
|
541
|
+
if((!settled_)) {
|
|
542
|
+
settled_ = true;
|
|
543
|
+
try {
|
|
544
|
+
for(let for_a = cleanups_.array, for_i = 0, for_l = for_a.length; for_i < for_l; for_i++) {
|
|
545
|
+
const c_ = for_a[for_i];
|
|
546
|
+
(await c_(true, $task))
|
|
547
|
+
};
|
|
548
|
+
resolve_(v_)
|
|
549
|
+
} catch(e_) {
|
|
550
|
+
reject_(e_)
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
const doReject_ = (async (v_, $task) => {
|
|
555
|
+
if((!settled_)) {
|
|
556
|
+
settled_ = true;
|
|
557
|
+
try {
|
|
558
|
+
for(let for_a = cleanups_.array, for_i = 0, for_l = for_a.length; for_i < for_l; for_i++) {
|
|
559
|
+
const c_ = for_a[for_i];
|
|
560
|
+
(await c_(false, $task))
|
|
561
|
+
};
|
|
562
|
+
reject_(v_)
|
|
563
|
+
} catch(e_) {
|
|
564
|
+
reject_(e_)
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
});
|
|
568
|
+
const jsReject_ = (async (a_1) => await (async (e_, $task) => {
|
|
569
|
+
return (await doReject_(e_, $task))
|
|
570
|
+
})(a_1, $task));
|
|
571
|
+
const controller_ = $task.controller_;
|
|
572
|
+
controller_.signal.addEventListener("abort", jsReject_);
|
|
573
|
+
cleanups_.array.push((async (_, $task) => {
|
|
574
|
+
controller_.signal.removeEventListener("abort", jsReject_)
|
|
575
|
+
}));
|
|
576
|
+
return (await body_(doResolve_, doReject_, (async (cleanup_, $task) => {
|
|
577
|
+
cleanups_.array.push(cleanup_)
|
|
578
|
+
}), $task))
|
|
579
|
+
})(a_1, a_2, $task)))))
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export async function value_$(value_, $task) {
|
|
583
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export async function fromValue_$(value_, $task) {
|
|
587
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export async function throw_$(value_, $task) {
|
|
591
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export async function unaryOperator_$(operator_, a1_, ff_core_JsValue_IsJsValue$T1, $task) {
|
|
595
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export async function binaryOperator_$(operator_, a1_, a2_, ff_core_JsValue_IsJsValue$T1, ff_core_JsValue_IsJsValue$T2, $task) {
|
|
599
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export async function shortCircuitingOperator_$(operator_, a1_, a2_, ff_core_JsValue_IsJsValue$T1, ff_core_JsValue_IsJsValue$T2, $task) {
|
|
603
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export async function rawIdentifier_$(operator_, $task) {
|
|
607
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export async function globalThis_$($task) {
|
|
611
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export async function get_$(key_, $task) {
|
|
615
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export async function set_$(key_, value_, ff_core_JsValue_IsJsValue$V, $task) {
|
|
619
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export async function increment_$(key_, value_, ff_core_JsValue_IsJsValue$V, $task) {
|
|
623
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export async function decrement_$(key_, value_, ff_core_JsValue_IsJsValue$V, $task) {
|
|
627
|
+
ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export async function call0_$(name_, $task) {
|
|
631
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export async function call1_$(name_, a1_, ff_core_JsValue_IsJsValue$A1, $task) {
|
|
635
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export async function call2_$(name_, a1_, a2_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, $task) {
|
|
639
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export async function call3_$(name_, a1_, a2_, a3_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, $task) {
|
|
643
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export async function call4_$(name_, a1_, a2_, a3_, a4_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, $task) {
|
|
647
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export async function call5_$(name_, a1_, a2_, a3_, a4_, a5_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, $task) {
|
|
651
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export async function call6_$(name_, a1_, a2_, a3_, a4_, a5_, a6_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, $task) {
|
|
655
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export async function call7_$(name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, $task) {
|
|
659
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export async function call8_$(name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, $task) {
|
|
663
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export async function call9_$(name_, a1_, a2_, a3_, a4_, a5_, a6_, a7_, a8_, a9_, ff_core_JsValue_IsJsValue$A1, ff_core_JsValue_IsJsValue$A2, ff_core_JsValue_IsJsValue$A3, ff_core_JsValue_IsJsValue$A4, ff_core_JsValue_IsJsValue$A5, ff_core_JsValue_IsJsValue$A6, ff_core_JsValue_IsJsValue$A7, ff_core_JsValue_IsJsValue$A8, ff_core_JsValue_IsJsValue$A9, $task) {
|
|
667
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export async function null_$($task) {
|
|
671
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export async function undefined_$($task) {
|
|
675
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export async function orUndefined_$(value_, ff_core_JsValue_IsJsValue$T, $task) {
|
|
679
|
+
{
|
|
680
|
+
const _1 = value_;
|
|
681
|
+
if(_1.None) {
|
|
682
|
+
return (void 0)
|
|
683
|
+
}
|
|
684
|
+
{
|
|
685
|
+
const v_ = _1.value_;
|
|
686
|
+
return v_
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export async function object_$($task) {
|
|
692
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
export async function new0_$($task) {
|
|
696
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export async function array_$(values_, $task) {
|
|
700
|
+
return values_
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export async function json_$(value_, $task) {
|
|
704
|
+
return value_
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export async function function0_$(body_, $task) {
|
|
708
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export async function function1_$(body_, $task) {
|
|
712
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export async function function2_$(body_, $task) {
|
|
716
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export async function function3_$(body_, $task) {
|
|
720
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export async function function4_$(body_, $task) {
|
|
724
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export async function function5_$(body_, $task) {
|
|
728
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export async function function6_$(body_, $task) {
|
|
732
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export async function function7_$(body_, $task) {
|
|
736
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export async function function8_$(body_, $task) {
|
|
740
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export async function function9_$(body_, $task) {
|
|
744
|
+
return ff_core_Core.panic_("This call should have been eliminated by the compiler")
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|