summaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unused import on WindowsIan Lynagh2010-09-291-3/+0
|
* Use showCommandForUser when showing tracing commandsIan Lynagh2010-09-281-2/+7
|
* Fix an egregious bug: INLINE pragmas on monomorphic Ids were being ignoredsimonpj@microsoft.com2010-09-245-228/+133
| | | | | | I had do to some refactoring to make this work nicely but now it does. I can't think how this escaped our attention for so long!
* Eta expand only lambdas that bind a non-dictionary Idsimonpj@microsoft.com2010-09-241-52/+32
| | | | | | See Note [When to eta expand]. The idea is that dictionary lambdas are invisible to the user, so we shouldn't eta expand them.
* Add a commentsimonpj@microsoft.com2010-09-241-0/+1
|
* Add a debug printsimonpj@microsoft.com2010-09-241-0/+1
|
* Just moving comments aroundsimonpj@microsoft.com2010-09-241-45/+76
|
* Change "OPTIONS" to "OPTIONS_GHC" in error messages; fixes #4327Ian Lynagh2010-09-241-2/+2
|
* emit a helpful error message for missing DPH packagesSimon Marlow2010-09-231-0/+9
|
* Fix braino in WwLib/Literal patchsimonpj@microsoft.com2010-09-241-1/+1
|
* Make -funfolding-dict-threshold work properlysimonpj@microsoft.com2010-09-232-1/+6
| | | | | and increase its default value. This makes overloaded functions a bit keener to inline. Which fixes Trac #4321
* Impredicative types is no longer deprecatedsimonpj@microsoft.com2010-09-231-2/+1
|
* Do not make FunctionalDependencies force MonoLocalBindssimonpj@microsoft.com2010-09-231-1/+0
|
* Allow absent State# RealWorld argumentssimonpj@microsoft.com2010-09-231-1/+4
|
* Add notSCCNote, and use itsimonpj@microsoft.com2010-09-234-19/+20
| | | | | The point here is that SCCs get in the way of eta expansion and we must treat them uniformly.
* Remove use of lambda with a refutable patternsimonpj@microsoft.com2010-09-236-40/+41
|
* Avoid ASSERT black holesimonpj@microsoft.com2010-09-231-1/+5
| | | | | | When this ASSERT tripped in CoreToStg it tried to print out too much, which tripped the asssertion again. Result: an infinite loop with no output at all. Hard to debug!
* Rejig the absent-arg stuff for unlifted typessimonpj@microsoft.com2010-09-232-19/+52
| | | | | | This is what was giving the "absent entered" messages See Note [Absent errors] in WwLib. We now return a suitable literal for absent values of unlifted type.
* Remove -fwarn-simple-patterns, and make -fwarn-incomplete-patterns include ↵simonpj@microsoft.com2010-09-222-24/+9
| | | | | | | | lambdas This makes \(x:xs) -> e want when you have -fwarn-incomplete-patterns, which is consistent.
* Get rid of non-exhaustive lambdasimonpj@microsoft.com2010-09-221-2/+3
|
* Fix an ASSERT failure with profilingsimonpj@microsoft.com2010-09-226-75/+99
| | | | | | | | | | | | | | | | | | | | | | The problem arose with this kind of thing x = (,) (scc "blah" Nothing) Then 'x' is marked NoCafRefs by CoreTidy, becuase it has arity 1, and doesn't mention any caffy things. That in turns means that CorePrep must not float out the sat binding to give sat = scc "blah" Nothing x = (,) sat Rather we must generate x = \eta. let sat = scc "blah" Nothing in (,) sat eta URGH! This Caf stuff is such a mess.
* Fixes for when HADDOCK_DOCS=NOIan Lynagh2010-09-211-1/+6
|
* Add "Use archives for ghci" to --info outputIan Lynagh2010-09-201-0/+1
|
* Implement archive loading for ghciIan Lynagh2010-09-203-7/+48
|
* Filter out the FFI library when loading package in ghciIan Lynagh2010-09-201-1/+7
| | | | | | | | The FFI GHCi import lib isn't needed as compiler/ghci/Linker.lhs + rts/Linker.c link the interpreted references to FFI to the compiled FFI. We therefore filter it out so that we don't get duplicate symbol errors.
* Loosen the conditions for -XUndecidableInstances; fixes Trac #4200simonpj@microsoft.com2010-09-191-8/+6
|
* Further improvements in error messagessimonpj@microsoft.com2010-09-193-89/+100
|
* Add a flag -fwarn-missing-local-sigs, and improve -fwarn-mising-signaturessimonpj@microsoft.com2010-09-197-101/+141
| | | | | | | | | | | | | The new flag prints out a warning if you have a local, polymorphic binding that lacks a type signature. It's meant to help with the transition to the new typechecker, which discourages local let-generalisation. At the same time I moved the missing-signature code to TcHsSyn, where it takes place as part of zonking. That way the types are reported after all typechecking is complete, thereby fixing Trac #3696. (It's even more important for local bindings, which is why I made the change.)
* Include the "stupid theta" in the type of $con2tagsimonpj@microsoft.com2010-09-191-1/+1
|
* Enable shared libs on OpenBSDMatthias Kilian2010-09-184-2/+13
|
* Add separate functions for querying DynFlag and ExtensionFlag optionsIan Lynagh2010-09-1830-163/+158
| | | | and remove the temporary DOpt class workaround.
* Bump dependenciesIan Lynagh2010-09-171-1/+1
|
* Fix overriding of implicit parameters in the solversimonpj@microsoft.com2010-09-171-12/+14
|
* Minor type printing amomalysimonpj@microsoft.com2010-09-171-2/+5
|
* Spaces onlysimonpj@microsoft.com2010-09-171-1/+1
|
* Minor refactoringsimonpj@microsoft.com2010-09-171-1/+2
|
* Add types of implicit parameters as untouchablesimonpj@microsoft.com2010-09-171-4/+16
| | | | | This is a tricky point: see Note [Implicit parameter untouchables]
* Better pretty printing of implicit parameterssimonpj@microsoft.com2010-09-171-1/+1
|
* Yet more error message improvementsimonpj@microsoft.com2010-09-172-43/+54
|
* More error message wibblessimonpj@microsoft.com2010-09-171-25/+30
|
* More error refactoringsimonpj@microsoft.com2010-09-171-36/+41
|
* Refactor type errors a bitsimonpj@microsoft.com2010-09-175-86/+126
| | | | Improves kind error messages in paticular
* Fix a very subtle shadowing bug in optCoercionsimonpj@microsoft.com2010-09-161-20/+67
| | | | | | See Note [Subtle shadowing in coercions] This is what was going wrong in Trac 4160.
* Fix bad error in tyVarsOfTypesimonpj@microsoft.com2010-09-161-6/+12
| | | | | We weren't gathering the type variables free in the kind of a coercion binder!
* More assertionssimonpj@microsoft.com2010-09-161-3/+11
|
* Add more location info in CoreLintsimonpj@microsoft.com2010-09-161-10/+16
|
* Print coercion variables as such (debugging change only)simonpj@microsoft.com2010-09-161-1/+2
|
* Remove pprTracesimonpj@microsoft.com2010-09-151-4/+3
|
* Remove dead code dealing with type refinementsimonpj@microsoft.com2010-09-151-128/+0
|
* Use mkAppTysimonpj@microsoft.com2010-09-152-3/+3
| | | | Using AppTy in CoreLint was giving a bogus Lint failure