feat: support unicode superscript and subscript in latex parsing (str… #123
Annotations
10 errors and 3 warnings
|
lint:
src/compute-engine/library/arithmetic.ts#L557
Replace `·(x.isPositive·?·'positive'·:·x.isSame(0)·?·'zero'·:·undefined)` with `⏎········x.isPositive·?·'positive'·:·x.isSame(0)·?·'zero'·:·undefined`
|
|
|
|
lint:
src/compute-engine/boxed-expression/utils.ts#L228
Insert `⏎·····`
|
|
lint:
src/compute-engine/boxed-expression/solve.ts#L633
Replace `.map((op)·=>·op.denominator)` with `⏎····.map((op)·=>·op.denominator)⏎····`
|
|
lint:
src/compute-engine/boxed-expression/match.ts#L161
Replace `isNumber(op)·&&·op.numerator.isSame(1)·&&·!op.denominator.isSame(1)` with `⏎··········isNumber(op)·&&⏎··········op.numerator.isSame(1)·&&⏎··········!op.denominator.isSame(1)⏎········`
|
|
lint:
src/compute-engine/boxed-expression/match.ts#L139
Replace `operator·===·'Divide'·&&·isNumber(expr)·&&·!expr.denominator.isSame(1)` with `⏎······operator·===·'Divide'·&&⏎······isNumber(expr)·&&⏎······!expr.denominator.isSame(1)⏎····`
|
|
lint:
src/compute-engine/boxed-expression/init-lazy-refs.ts#L13
Unexpected path "../compilation/compile-expression" imported in restricted zone. boxed-expression/ is a lower layer and must not import from compilation/
|
|
lint:
src/compute-engine/boxed-expression/boxed-number.ts#L594
Replace `Math.abs(this.re·-·Number(other))·<=·tolerance·&&·Math.abs(this.im)·<=·tolerance` with `(⏎········Math.abs(this.re·-·Number(other))·<=·tolerance·&&⏎········Math.abs(this.im)·<=·tolerance⏎······)`
|
|
lint:
src/compute-engine/boxed-expression/boxed-number.ts#L591
Replace `Math.abs(this.re·-·other)·<=·tolerance·&&·Math.abs(this.im)·<=·tolerance` with `(⏎········Math.abs(this.re·-·other)·<=·tolerance·&&·Math.abs(this.im)·<=·tolerance⏎······)`
|
|
lint:
src/compute-engine/boxed-expression/boxed-function.ts#L413
Insert `⏎·······`
|
|
lint:
src/compute-engine/latex-syntax/parse.ts#L1590
'digitStart' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
lint:
src/compute-engine/latex-syntax/parse.ts#L1584
'caretIndex' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
lint:
src/compute-engine/compilation/gpu-target.ts#L69
'target' is defined but never used. Allowed unused args must match /^_/u
|