Removed extra JSName annotations. Now everything builds

This commit is contained in:
Gleb Minaev 2022-03-14 22:23:50 +03:00
parent 44febbdd73
commit fb01d85197
2 changed files with 0 additions and 14 deletions

View File

@ -388,25 +388,21 @@ public interface AbstractPolynomialSpaceOverRing<C, P: AbstractPolynomial<C>, A:
* Returns negation of the constant. * Returns negation of the constant.
*/ */
@JvmName("constantUnaryMinus") @JvmName("constantUnaryMinus")
@JsName("constantUnaryMinus")
public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus } public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus }
/** /**
* Returns sum of the constants. * Returns sum of the constants.
*/ */
@JvmName("constantPlus") @JvmName("constantPlus")
@JsName("constantPlus")
public override operator fun C.plus(other: C): C = ring { this@plus + other } public override operator fun C.plus(other: C): C = ring { this@plus + other }
/** /**
* Returns difference of the constants. * Returns difference of the constants.
*/ */
@JvmName("constantMinus") @JvmName("constantMinus")
@JsName("constantMinus")
public override operator fun C.minus(other: C): C = ring { this@minus - other } public override operator fun C.minus(other: C): C = ring { this@minus - other }
/** /**
* Returns product of the constants. * Returns product of the constants.
*/ */
@JvmName("constantTimes") @JvmName("constantTimes")
@JsName("constantTimes")
public override operator fun C.times(other: C): C = ring { this@times * other } public override operator fun C.times(other: C): C = ring { this@times * other }
/** /**

View File

@ -578,31 +578,26 @@ public interface AbstractRationalFunctionalSpaceOverRing<C, P: AbstractPolynomia
* Returns the same constant. * Returns the same constant.
*/ */
@JvmName("constantUnaryPlus") @JvmName("constantUnaryPlus")
@JsName("constantUnaryPlus")
public override operator fun C.unaryPlus(): C = ring { +this@unaryPlus } public override operator fun C.unaryPlus(): C = ring { +this@unaryPlus }
/** /**
* Returns negation of the constant. * Returns negation of the constant.
*/ */
@JvmName("constantUnaryMinus") @JvmName("constantUnaryMinus")
@JsName("constantUnaryMinus")
public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus } public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus }
/** /**
* Returns sum of the constants. * Returns sum of the constants.
*/ */
@JvmName("constantPlus") @JvmName("constantPlus")
@JsName("constantPlus")
public override operator fun C.plus(other: C): C = ring { this@plus + other } public override operator fun C.plus(other: C): C = ring { this@plus + other }
/** /**
* Returns difference of the constants. * Returns difference of the constants.
*/ */
@JvmName("constantMinus") @JvmName("constantMinus")
@JsName("constantMinus")
public override operator fun C.minus(other: C): C = ring { this@minus - other } public override operator fun C.minus(other: C): C = ring { this@minus - other }
/** /**
* Returns product of the constants. * Returns product of the constants.
*/ */
@JvmName("constantTimes") @JvmName("constantTimes")
@JsName("constantTimes")
public override operator fun C.times(other: C): C = ring { this@times * other } public override operator fun C.times(other: C): C = ring { this@times * other }
/** /**
@ -716,31 +711,26 @@ public interface AbstractRationalFunctionalSpaceOverPolynomialSpace<C, P: Abstra
* Returns the same constant. * Returns the same constant.
*/ */
@JvmName("constantUnaryPlus") @JvmName("constantUnaryPlus")
@JsName("constantUnaryPlus")
public override operator fun C.unaryPlus(): C = polynomialRing { +this@unaryPlus } public override operator fun C.unaryPlus(): C = polynomialRing { +this@unaryPlus }
/** /**
* Returns negation of the constant. * Returns negation of the constant.
*/ */
@JvmName("constantUnaryMinus") @JvmName("constantUnaryMinus")
@JsName("constantUnaryMinus")
public override operator fun C.unaryMinus(): C = polynomialRing { -this@unaryMinus } public override operator fun C.unaryMinus(): C = polynomialRing { -this@unaryMinus }
/** /**
* Returns sum of the constants. * Returns sum of the constants.
*/ */
@JvmName("constantPlus") @JvmName("constantPlus")
@JsName("constantPlus")
public override operator fun C.plus(other: C): C = polynomialRing { this@plus + other } public override operator fun C.plus(other: C): C = polynomialRing { this@plus + other }
/** /**
* Returns difference of the constants. * Returns difference of the constants.
*/ */
@JvmName("constantMinus") @JvmName("constantMinus")
@JsName("constantMinus")
public override operator fun C.minus(other: C): C = polynomialRing { this@minus - other } public override operator fun C.minus(other: C): C = polynomialRing { this@minus - other }
/** /**
* Returns product of the constants. * Returns product of the constants.
*/ */
@JvmName("constantTimes") @JvmName("constantTimes")
@JsName("constantTimes")
public override operator fun C.times(other: C): C = polynomialRing { this@times * other } public override operator fun C.times(other: C): C = polynomialRing { this@times * other }
/** /**