summaryrefslogtreecommitdiff
path: root/src/client/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-04-16 23:04:49 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-04-16 23:04:49 +0900
commitda3008af1c3734a397b7503fd517bebee810d3c0 (patch)
treec90ba87c7bc297f3e039ce4029dff475d74d2331 /src/client/scripts
parentfeat(pages): Add arc method (diff)
downloadsharkey-da3008af1c3734a397b7503fd517bebee810d3c0.tar.gz
sharkey-da3008af1c3734a397b7503fd517bebee810d3c0.tar.bz2
sharkey-da3008af1c3734a397b7503fd517bebee810d3c0.zip
fix(pages): AiScript変数があると型チェックができない問題を修正
Diffstat (limited to 'src/client/scripts')
-rw-r--r--src/client/scripts/aoiscript/type-checker.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/scripts/aoiscript/type-checker.ts b/src/client/scripts/aoiscript/type-checker.ts
index 93b13c4bda..c10198e119 100644
--- a/src/client/scripts/aoiscript/type-checker.ts
+++ b/src/client/scripts/aoiscript/type-checker.ts
@@ -110,6 +110,7 @@ export class ASTypeChecker {
return null;
}
+ if (v.type === 'aiScriptVar') return null;
if (v.type === 'fn') return null; // todo
if (v.type.startsWith('fn:')) return null; // todo