curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2016] [Mantis 2053] Misleading comment on specifying a unit taking real number values #68

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : DrFell

Description :

Section 15.8. Units says:

1.0 kg specifies a weight.

Here Inform can see from the decimal point in the prototype number that real numbers will be involved.

That's incorrect, and definitely misleading, since e.g. "1.1 kg specifies a weight" doesn't work. The digit after the point has to be 0, or else we end up specifying a "notation including more than one number" as discussed in Section 15.14.

Steps to reproduce :


Additional information :

imported from: [Mantis 2053] Misleading comment on specifying a unit taking real number values
  • status: Closed
  • resolution: Resolved
  • resolved: 2022-04-10T03:45:46+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

61eedb62875fc10070240916:

https://github.com/ganelson/inform/commit/9b87f3e4842857349ce7f3ac967683d2d31aa704