stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
140 stars 44 forks source link

some deprecations #1220

Closed nhuurre closed 2 years ago

nhuurre commented 2 years ago

Submission Checklist

Closes #494 and touches on #823 . Those issues have not received any feedback, not sure if it's because everyone agrees or because no one reads the issue tracker.

Release notes

Copyright and Licensing

Copyright holder: Niko Huurre

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

WardBrian commented 2 years ago

I think this is good to go. I was going to ask why you weren't warning inside of the TernaryIf expression, but it turns out that already requires ints for the conditionals. The more you know.

Would you mind opening a docs PR to add the deprecation of reals as bools to this page? We might also want to update the warnings guide but that is optional, IMO