Boo
  1. Boo
  2. BOO-376

properly detect and report type inference cycles

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.6
    • Fix Version/s: 0.6
    • Component/s: None
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      """
      BCE0070-3.boo(9,16): BCE0070: Definition of 'foo.bar' depends on 'foo.a' whose type could not be resolved because of a cycle. Explicitly declare the type of either one to break the cycle.
      BCE0070-3.boo(6,9): BCE0070: Definition of 'foo.a' depends on 'foo.bar' whose type could not be resolved because of a cycle. Explicitly declare the type of either one to break the cycle.
      """
      class foo:
      a = bar()

      def bar():
      return a

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Rodrigo B. de Oliveira
            Reporter:
            Rodrigo B. de Oliveira
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: