Summary

Invalid type syntax for pair segfaults the compiler

Metadata

Description

Compiling this kills the compiler (note the spurious dot): `(: foo (pair * . *))`

 Error: during expansion of (: ...) - segmentation violation
 
 	Call history:
 
 	<syntax>	  (##core#begin (: foo (pair * . *)))
 	<syntax>	  (: foo (pair * . *))	<--

Changes and comments

[2017-05-28 12:09:45 UTC] sjamaan set difficulty to easy

[2017-05-28 12:09:45 UTC] sjamaan changed milestone from someday to 4.13.0

[2017-05-28 12:51:20 UTC] sjamaan wrote:

Thanks for finding this! It's a pretty serious problem, given that length will crash when passed an improper list.

[2017-05-28 12:51:32 UTC] sjamaan changed priority from minor to critical

[2017-05-31 07:04:35 UTC] evhan changed status from new to closed

[2017-05-31 07:04:35 UTC] evhan set resolution to fixed

[2017-05-31 07:04:35 UTC] evhan wrote:

Fixed by 075e5833 (master) and a8b11466 (chicken-5).