aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/language
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-11-22 16:35:42 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-11-22 16:40:04 +0100
commit862cb00e40aa6f094aff019a44f52ebfca90ab88 (patch)
tree3c32b6ca6612d07d3d1fcfc5620c86ba9c774b3b /subprojects/frontend/src/language
parentrefactor(language): simplify syntax (diff)
downloadrefinery-862cb00e40aa6f094aff019a44f52ebfca90ab88.tar.gz
refinery-862cb00e40aa6f094aff019a44f52ebfca90ab88.tar.zst
refinery-862cb00e40aa6f094aff019a44f52ebfca90ab88.zip
fix(frontend): mobx 6.7.0 typing
Also bumps some dependencies and updates tsconfig.json The added workarounds should be remove once https://github.com/mobxjs/mobx/issues/3582 is resolved.
Diffstat (limited to 'subprojects/frontend/src/language')
-rw-r--r--subprojects/frontend/src/language/problem.grammar2
-rw-r--r--subprojects/frontend/src/language/problemLanguageSupport.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/src/language/problem.grammar b/subprojects/frontend/src/language/problem.grammar
index c2410913..f4cf1712 100644
--- a/subprojects/frontend/src/language/problem.grammar
+++ b/subprojects/frontend/src/language/problem.grammar
@@ -37,7 +37,7 @@ statement {
37 PredicateBody { ("<->" sep<OrOp, Conjunction>)? "." } 37 PredicateBody { ("<->" sep<OrOp, Conjunction>)? "." }
38 } | 38 } |
39 FunctionDefinition { 39 FunctionDefinition {
40 PrimitiveType RelationName ParameterList<Parameter>? 40 kw<"fn"> PrimitiveType RelationName ParameterList<Parameter>?
41 FunctionBody { ("=" sep<OrOp, Case>)? "." } 41 FunctionBody { ("=" sep<OrOp, Case>)? "." }
42 } | 42 } |
43 //RuleDefinition { 43 //RuleDefinition {
diff --git a/subprojects/frontend/src/language/problemLanguageSupport.ts b/subprojects/frontend/src/language/problemLanguageSupport.ts
index 497030e2..c3ae7ed9 100644
--- a/subprojects/frontend/src/language/problemLanguageSupport.ts
+++ b/subprojects/frontend/src/language/problemLanguageSupport.ts
@@ -21,7 +21,7 @@ const parserWithMetadata = parser.configure({
21 styleTags({ 21 styleTags({
22 LineComment: t.lineComment, 22 LineComment: t.lineComment,
23 BlockComment: t.blockComment, 23 BlockComment: t.blockComment,
24 'problem class enum pred indiv scope': t.definitionKeyword, 24 'problem class enum pred fn indiv scope': t.definitionKeyword,
25 'abstract extends refers contains container opposite': t.modifier, 25 'abstract extends refers contains container opposite': t.modifier,
26 'default error contained containment': t.modifier, 26 'default error contained containment': t.modifier,
27 'true false unknown error': t.keyword, 27 'true false unknown error': t.keyword,