Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amaranth-lang/amaranth
base: ee73d39b8d68
Choose a base ref
...
head repository: amaranth-lang/amaranth
compare: 3346f2c505d2
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Apr 14, 2020

  1. buil.plat: enable strict undefined behavior in Jinja2.

    By default, if an operation produces an undefined value (a Jinja2
    concept that corresponds to Python's KeyError, AttributeError, etc)
    then this value may be printed in a template, which is a nop. This
    behavior can hide bugs.
    
    This commit changes the Jinja2 behavior to raise an error instead of
    producing an undefined value in all cases. (We produce undefined
    values deliberately in a few places. Those are unaffected; it is OK
    to use several kinds of undefined values in one Jinja2 environment.)
    
    Fixes #337.
    whitequark committed Apr 14, 2020
    Copy the full SHA
    3346f2c View commit details
    Browse the repository at this point in the history