@@ -42,7 +42,7 @@ Library
4242 if flag(dev)
4343 ghc-options: -O0 -W -Werror
4444 else
45− ghc-options: -O2
45+ ghc-options: -O2 -fsimpl-tick-factor=200
4646
4747 Hs-Source-Dirs:
4848 src
@@ -50,6 +50,7 @@ Library
5050 exposed-modules:
5151 Elm.Compiler,
5252 Elm.Compiler.Module,
53+ Elm.Compiler.Objects,
5354 Elm.Compiler.Type,
5455 Elm.Docs,
5556 Elm.Package,
@@ -83,6 +84,7 @@ Library
8384 Docs.Centralize,
8485 Docs.Check,
8586 Elm.Compiler.Imports,
87+ Elm.Compiler.Objects.Internal,
8688 Elm.Compiler.Type.Extract,
8789 Elm.Compiler.Version,
8890 Generate.JavaScript,
@@ -160,48 +162,48 @@ Library
160162 union-find >= 0.2 && < 0.3
161163
162164
163−Test-Suite compiler-tests
164− ghc-options:
165− -O0
166−
167− Type:
168− exitcode-stdio-1.0
169−
170− Hs-Source-Dirs:
171− tests, src
172−
173− Main-is:
174− Test.hs
175−
176− other-modules:
177− Test.Compiler
178− Test.Property
179− Test.Property.Arbitrary
180− AST.Helpers
181− AST.Literal
182−
183− build-depends:
184− test-framework > 0.8 && < 0.9,
185− test-framework-hunit >= 0.3 && < 0.4,
186− test-framework-quickcheck2 >= 0.3 && < 0.4,
187− HUnit >= 1.1 && < 2,
188− QuickCheck >= 2 && < 3,
189− aeson >= 0.11,
190− aeson-pretty >= 0.8 && < 0.9,
191− ansi-terminal >= 0.6.2.1 && < 0.7,
192− ansi-wl-pprint >= 0.6.7 && < 0.7,
193− base >=4.2 && <5,
194− binary >= 0.7.0.0 && < 0.8,
195− bytestring >= 0.9 && < 0.11,
196− containers >= 0.3 && < 0.6,
197− directory >= 1.0 && < 2.0,
198− edit-distance >= 0.2 && < 0.3,
199− filemanip >= 0.3.5 && < 0.4,
200− filepath >= 1 && < 2.0,
201− language-glsl >= 0.0.2 && < 0.3,
202− mtl >= 2.2 && < 3,
203− parsec,
204− pretty >= 1.0 && < 2.0,
205− process,
206− text >= 1 && < 2,
207− union-find >= 0.2 && < 0.3
165+--Test-Suite compiler-tests
166+-- ghc-options:
167+-- -O0
168+--
169+-- Type:
170+-- exitcode-stdio-1.0
171+--
172+-- Hs-Source-Dirs:
173+-- tests, src
174+--
175+-- Main-is:
176+-- Test.hs
177+--
178+-- other-modules:
179+-- Test.Compiler
180+-- Test.Property
181+-- Test.Property.Arbitrary
182+-- AST.Helpers
183+-- AST.Literal
184+--
185+-- build-depends:
186+-- test-framework > 0.8 && < 0.9,
187+-- test-framework-hunit >= 0.3 && < 0.4,
188+-- test-framework-quickcheck2 >= 0.3 && < 0.4,
189+-- HUnit >= 1.1 && < 2,
190+-- QuickCheck >= 2 && < 3,
191+-- aeson >= 0.11,
192+-- aeson-pretty >= 0.8 && < 0.9,
193+-- ansi-terminal >= 0.6.2.1 && < 0.7,
194+-- ansi-wl-pprint >= 0.6.7 && < 0.7,
195+-- base >=4.2 && <5,
196+-- binary >= 0.7.0.0 && < 0.8,
197+-- bytestring >= 0.9 && < 0.11,
198+-- containers >= 0.3 && < 0.6,
199+-- directory >= 1.0 && < 2.0,
200+-- edit-distance >= 0.2 && < 0.3,
201+-- filemanip >= 0.3.5 && < 0.4,
202+-- filepath >= 1 && < 2.0,
203+-- language-glsl >= 0.0.2 && < 0.3,
204+-- mtl >= 2.2 && < 3,
205+-- parsec,
206+-- pretty >= 1.0 && < 2.0,
207+-- process,
208+-- text >= 1 && < 2,
209+-- union-find >= 0.2 && < 0.3