You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will now show a new error:
>>> unit page: Scalar
error: while type checking
┌─ <input:1>:1:6
│
1 │ unit page: Scalar
│ ^^^^ Base units can not be dimensionless.
│
= Use 'unit page' for ad-hoc units.
= Use 'unit page: Scalar = …' for derived units.
closes#308
Will now show a new error:
>>> unit page: Scalar
error: while type checking
┌─ <input:1>:1:6
│
1 │ unit page: Scalar
│ ^^^^ Base units can not be dimensionless.
│
= Use 'unit page' for ad-hoc units.
= Use 'unit page: Scalar = …' for derived units.
closes#308
Defining base units of type
Scalar
/1
should not be possible:It is currently allowed, probably mostly harmless, but leads to weird runtime errors like
The text was updated successfully, but these errors were encountered: