quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
145 stars 22 forks source link

Tag.doc should have higher priority than comment docstring #3320

Open berekuk opened 2 weeks ago

berekuk commented 2 weeks ago

This has changed in 0.9.5 compared to 0.9.4, not sure why.

We probably should just remove the support for comment docstrings to avoid the confusion.

https://www.squiggle-language.com/playground?v=0.9.5#code=eNqrVkpJTUsszSlxzk9JVbJS0tfSUkjOz81NzStRSMlPLi4pysxLV9DSj8lzAHI1YpRKEtMREjFKmjF5FQq2CoZKtQCvhRi9

Screenshot 2024-06-14 at 14 39 29

https://www.squiggle-language.com/playground?v=0.9.4#code=eNqrVkpJTUsszSlxzk9JVbJS0tfSUkjOz81NzStRSMlPLi4pysxLV9DSj8lzAHI1YpRKEtMREjFKmjF5FQq2CoZKtQCvhRi9

Screenshot 2024-06-14 at 14 39 46

(found while upgrading https://squigglehub.org/models/ozziegooen/helpers)