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