sva31180.scm 412 B

1234567891011121314151617
  1. ;; Savannah bug #31180: exception in inline-compiler
  2. ;; Note this only failed in immediate mode, with foo exported but bar private.
  3. (module-export foo foo2)
  4. (module-static #t)
  5. (define (bar (port-number ::int) name)
  6. (list port-number name))
  7. (define (foo port name) (bar port name))
  8. ;; Savannah bug 31256: Verify error
  9. (define (foo2) ((bar2)))
  10. (define (bar2) (lambda () 100))
  11. ;;Output: (5 foo)
  12. ;;Output: 100