Mercerenies / tfactor

0 stars 0 forks source link

Hanging on Cyclic Load #14

Closed Mercerenies closed 4 years ago

Mercerenies commented 4 years ago

The following code will cause an infinite loop in the compiler. It should be caught as a cyclic load in the module loader and rejected.

mod A

  mod B
    include A
  end

end

fun main ( -- )
end