git.iko.soy/lynxjs-elm/compiler
on master help sign in
switch from per-file -Wall to global -Wall in .cabal
commitdd6fbd839dbe4c17fa148d20982e1913ad5d2db4 authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 12 Nov 2025, 17:04 (1 year ago) parentcebcc19
76 files changed−76
builder/src/Deps/Registry.hs−1 builder/src/Elm/Details.hs−1 builder/src/Elm/Outline.hs−1 builder/src/Stuff.hs−1 compiler/src/AST/Canonical.hs−1 compiler/src/AST/Optimized.hs−1 compiler/src/AST/Source.hs−1 compiler/src/AST/Utils/Binop.hs−1 compiler/src/AST/Utils/Shader.hs−1 compiler/src/AST/Utils/Type.hs−1 compiler/src/Canonicalize/Effects.hs−1 compiler/src/Canonicalize/Environment.hs−1 compiler/src/Canonicalize/Environment/Dups.hs−1 compiler/src/Canonicalize/Environment/Foreign.hs−1 compiler/src/Canonicalize/Environment/Local.hs−1 compiler/src/Canonicalize/Module.hs−1 compiler/src/Canonicalize/Pattern.hs−1 compiler/src/Canonicalize/Type.hs−1 compiler/src/Data/Bag.hs−1 compiler/src/Data/OneOrMore.hs−1 compiler/src/Elm/Compiler/Imports.hs−1 compiler/src/Elm/Compiler/Type/Extract.hs−1 compiler/src/Elm/Constraint.hs−1 compiler/src/Elm/Docs.hs−1 compiler/src/Elm/Float.hs−1 compiler/src/Elm/Interface.hs−1 compiler/src/Elm/Kernel.hs−1 compiler/src/Elm/Licenses.hs−1 compiler/src/Elm/Version.hs−1 compiler/src/Generate/JavaScript/Builder.hs−1 compiler/src/Generate/JavaScript/Name.hs−1 compiler/src/Json/Encode.hs−1 compiler/src/Optimize/Case.hs−1 compiler/src/Optimize/Expression.hs−1 compiler/src/Optimize/Module.hs−1 compiler/src/Optimize/Names.hs−1 compiler/src/Optimize/Port.hs−1 compiler/src/Parse/Keyword.hs−1 compiler/src/Parse/Module.hs−1 compiler/src/Parse/Number.hs−1 compiler/src/Parse/Shader.hs−1 compiler/src/Parse/Symbol.hs−1 compiler/src/Parse/Variable.hs−1 compiler/src/Reporting/Annotation.hs−1 compiler/src/Reporting/Doc.hs−1 compiler/src/Reporting/Error.hs−1 compiler/src/Reporting/Error/Canonicalize.hs−1 compiler/src/Reporting/Error/Docs.hs−1 compiler/src/Reporting/Error/Json.hs−1 compiler/src/Reporting/Error/Main.hs−1 compiler/src/Reporting/Error/Pattern.hs−1 compiler/src/Reporting/Error/Syntax.hs−1 compiler/src/Reporting/Error/Type.hs−1 compiler/src/Reporting/Render/Type.hs−1 compiler/src/Reporting/Render/Type/Localizer.hs−1 compiler/src/Reporting/Result.hs−1 compiler/src/Reporting/Suggest.hs−1 compiler/src/Reporting/Warning.hs−1 compiler/src/Type/Constrain/Expression.hs−1 compiler/src/Type/Constrain/Module.hs−1 compiler/src/Type/Constrain/Pattern.hs−1 compiler/src/Type/Instantiate.hs−1 compiler/src/Type/Occurs.hs−1 compiler/src/Type/Solve.hs−1 compiler/src/Type/Type.hs−1 compiler/src/Type/Unify.hs−1 terminal/src/Develop/Generate/Help.hs−1 terminal/src/Develop/Generate/Index.hs−1 terminal/src/Develop/Socket.hs−1 terminal/src/Develop/StaticFiles.hs−1 terminal/src/Diff.hs−1 worker/src/Artifacts.hs−1 worker/src/Cors.hs−1 worker/src/Endpoint/Compile.hs−1 worker/src/Endpoint/Repl.hs−1 worker/src/Main.hs−1
builder/src/Deps/Registry.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, OverloadedStrings #-}
32module Deps.Registry
43 ( Registry(..)
builder/src/Elm/Details.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, OverloadedStrings #-}
32module Elm.Details
43 ( Details(..)
builder/src/Elm/Outline.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE MultiWayIf, OverloadedStrings #-}
32module Elm.Outline
43 ( Outline(..)
builder/src/Stuff.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Stuff
32 ( details
43 , interfaces
compiler/src/AST/Canonical.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module AST.Canonical
43 ( Expr, Expr_(..)
compiler/src/AST/Optimized.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module AST.Optimized
32 ( Def(..)
43 , Expr(..)
compiler/src/AST/Source.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module AST.Source
32 ( Expr, Expr_(..), VarType(..)
43 , Def(..)
compiler/src/AST/Utils/Binop.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module AST.Utils.Binop
32 ( Precedence(..)
43 , Associativity(..)
compiler/src/AST/Utils/Shader.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE EmptyDataDecls #-}
32module AST.Utils.Shader
43 ( Source
compiler/src/AST/Utils/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module AST.Utils.Type
32 ( delambda
43 , dealias
compiler/src/Canonicalize/Effects.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Canonicalize.Effects
43 ( canonicalize
compiler/src/Canonicalize/Environment.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Canonicalize.Environment
43 ( Env(..)
compiler/src/Canonicalize/Environment/Dups.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Canonicalize.Environment.Dups
43 ( detect
compiler/src/Canonicalize/Environment/Foreign.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns #-}
32{-# LANGUAGE OverloadedStrings #-}
43module Canonicalize.Environment.Foreign
compiler/src/Canonicalize/Environment/Local.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Canonicalize.Environment.Local
43 ( add
compiler/src/Canonicalize/Module.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Canonicalize.Module
32 ( canonicalize
43 )
compiler/src/Canonicalize/Pattern.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Canonicalize.Pattern
32 ( verify
43 , Bindings
compiler/src/Canonicalize/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Canonicalize.Type
43 ( toAnnotation
compiler/src/Data/Bag.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Data.Bag
32 ( Bag(..)
43 , empty
compiler/src/Data/OneOrMore.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Data.OneOrMore
32 ( OneOrMore(..)
43 , one
compiler/src/Elm/Compiler/Imports.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Elm.Compiler.Imports
43 ( defaults
compiler/src/Elm/Compiler/Type/Extract.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, OverloadedStrings, Rank2Types #-}
32module Elm.Compiler.Type.Extract
43 ( fromAnnotation
compiler/src/Elm/Constraint.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Elm.Constraint
43 ( Constraint
compiler/src/Elm/Docs.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, MultiWayIf, OverloadedStrings, UnboxedTuples #-}
32module Elm.Docs
43 ( Documentation
compiler/src/Elm/Float.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE EmptyDataDecls, FlexibleInstances #-}
32module Elm.Float
43 ( Float
compiler/src/Elm/Interface.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Elm.Interface
32 ( Interface(..)
43 , Union(..)
compiler/src/Elm/Kernel.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, EmptyDataDecls, OverloadedStrings, UnboxedTuples #-}
32module Elm.Kernel
43 ( Content(..)
compiler/src/Elm/Licenses.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Elm.Licenses
43 ( License
compiler/src/Elm/Version.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, UnboxedTuples #-}
32module Elm.Version
43 ( Version(..)
compiler/src/Generate/JavaScript/Builder.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Generate.JavaScript.Builder
43 ( stmtToBuilder
compiler/src/Generate/JavaScript/Name.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Generate.JavaScript.Name
43 ( Name
compiler/src/Json/Encode.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Json.Encode
43 ( write
compiler/src/Optimize/Case.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Optimize.Case
32 ( optimize
43 )
compiler/src/Optimize/Expression.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Optimize.Expression
43 ( optimize
compiler/src/Optimize/Module.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Optimize.Module
43 ( optimize
compiler/src/Optimize/Names.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32{-# LANGUAGE Rank2Types #-}
43module Optimize.Names
compiler/src/Optimize/Port.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Optimize.Port
43 ( toEncoder
compiler/src/Parse/Keyword.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns #-}
32module Parse.Keyword
43 ( type_, alias_, port_
compiler/src/Parse/Module.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Parse.Module
43 ( fromByteString
compiler/src/Parse/Number.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, UnboxedTuples #-}
32module Parse.Number
43 ( Number(..)
compiler/src/Parse/Shader.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, UnboxedTuples #-}
32module Parse.Shader
43 ( shader
compiler/src/Parse/Symbol.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, OverloadedStrings #-}
32module Parse.Symbol
43 ( operator
compiler/src/Parse/Variable.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE BangPatterns, MagicHash, OverloadedStrings, UnboxedTuples #-}
32module Parse.Variable
43 ( lower
compiler/src/Reporting/Annotation.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Reporting.Annotation
32 ( Located(..)
43 , Position(..)
compiler/src/Reporting/Doc.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Doc
43 ( P.Doc
compiler/src/Reporting/Error.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error
43 ( Module(..)
compiler/src/Reporting/Error/Canonicalize.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Canonicalize
43 ( Error(..)
compiler/src/Reporting/Error/Docs.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Docs
43 ( Error(..)
compiler/src/Reporting/Error/Json.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Json
43 ( toReport
compiler/src/Reporting/Error/Main.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Main
43 ( Error(..)
compiler/src/Reporting/Error/Pattern.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Pattern
43 ( P.Error(..)
compiler/src/Reporting/Error/Syntax.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Syntax
43 ( Error(..)
compiler/src/Reporting/Error/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Error.Type
43 ( Error(..)
compiler/src/Reporting/Render/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Render.Type
43 ( Context(..)
compiler/src/Reporting/Render/Type/Localizer.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Render.Type.Localizer
43 ( Localizer
compiler/src/Reporting/Result.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE Rank2Types #-}
32module Reporting.Result
43 ( Result(..)
compiler/src/Reporting/Suggest.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Suggest
43 ( distance
compiler/src/Reporting/Warning.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Reporting.Warning
43 ( Warning(..)
compiler/src/Type/Constrain/Expression.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Type.Constrain.Expression
32 ( constrain
43 , constrainDef
compiler/src/Type/Constrain/Module.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Type.Constrain.Module
43 ( constrain
compiler/src/Type/Constrain/Pattern.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Type.Constrain.Pattern
32 ( State(..)
43 , emptyState
compiler/src/Type/Instantiate.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Type.Instantiate
43 ( FreeVars
compiler/src/Type/Occurs.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Type.Occurs
43 ( occurs
compiler/src/Type/Solve.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Type.Solve
43 ( run
compiler/src/Type/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Type.Type
43 ( Constraint(..)
compiler/src/Type/Unify.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings, Rank2Types #-}
32module Type.Unify
43 ( Answer(..)
terminal/src/Develop/Generate/Help.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32{-# LANGUAGE QuasiQuotes #-}
43module Develop.Generate.Help
terminal/src/Develop/Generate/Index.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Develop.Generate.Index
43 ( generate
terminal/src/Develop/Socket.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Develop.Socket (watchFile) where
43
terminal/src/Develop/StaticFiles.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32{-# LANGUAGE TemplateHaskell #-}
43module Develop.StaticFiles
terminal/src/Diff.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Diff
43 ( Args(..)
worker/src/Artifacts.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Artifacts
32 ( Artifacts(..)
43 , Root(..)
worker/src/Cors.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21module Cors
32 ( allow
43 )
worker/src/Endpoint/Compile.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings, QuasiQuotes #-}
32module Endpoint.Compile
43 ( endpoint_V1
worker/src/Endpoint/Repl.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Endpoint.Repl
43 ( endpoint
worker/src/Main.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -Wall #-}
21{-# LANGUAGE OverloadedStrings #-}
32module Main
43 ( main