Menu

#37 IndentationError: unindent does not match any outer indentat

release 1.1
closed-fixed
pyke (39)
5
2010-04-23
2010-04-23
No

An IndentationError is raised during rule compilation where a forward-chaining rule has a forall clause that has a require clause that ends in a python clause. For example:

some_fc_rule
foreach
a.b()
forall
c.d()
require
e.f()
python x = True
assert
y.z()

Discussion

  • Bruce Frederiksen

    Fixed in revision b41f7ee8f43c. Will be in Pyke release 1.1.1.

     
  • Bruce Frederiksen

    • status: open --> closed-fixed
     

Log in to post a comment.