id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2633	Broken windres in Windows installer	simonpj		"JCAB reports:
{{{
{-# LANGUAGE TemplateHaskell #-}
module MkData where

import Language.Haskell.TH
import Language.Haskell.TH.Syntax

decl name = returnQ $ [ DataD [] (mkName name) [] [RecC (mkName name) []] [] ]
---
{-# LANGUAGE TemplateHaskell #-}
module Main where

import MkData

$(decl ""KK"")

main = undefined
}}}
gives the spooky error
{{{
C:\Users\JCAB\Haskell\THTest>ghc --make main.hs
[1 of 2] Compiling MkData           ( MkData.hs, MkData.o )
[2 of 2] Compiling Main             ( main.hs, main.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Linking main.exe ...
C:\ghc\ghc-6.10.0.20080925\bin/windres: CreateProcess (null): Invalid
argument
}}}
Works in 6.8.3"	bug	closed	normal	6.10.1	Compiler	6.9	duplicate			Windows	x86		Unknown				
