Simplify code by moving polyfill cue compiler to sub-package cc

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-02-07 07:36:21 +00:00
parent 622de21883
commit 612a25fb9f
26 changed files with 372 additions and 350 deletions

View File

@@ -6,12 +6,12 @@ import (
)
func TestEnvInputFlag(t *testing.T) {
env, err := NewEnv(nil)
env, err := NewEnv()
if err != nil {
t.Fatal(err)
}
input, err := NewInputValue(env.Compiler(), `{}`)
input, err := NewInputValue(`{}`)
if err != nil {
t.Fatal(err)
}