From 1959468f4a0b2b5ae321290991a87815d886d5d6 Mon Sep 17 00:00:00 2001 From: Peter Saxton Date: Wed, 27 Dec 2023 15:22:42 +0000 Subject: [PATCH] fix errors caused by type imports in 0.33.0 --- gleam.toml | 3 ++- manifest.toml | 8 ++++---- src/gsv/internal/ast.gleam | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gleam.toml b/gleam.toml index 5531f8f..e3e9780 100644 --- a/gleam.toml +++ b/gleam.toml @@ -12,9 +12,10 @@ internal_modules = [ "gsv/internal", "gsv/internal/*", ] +gleam = ">= 0.32.0" [dependencies] gleam_stdlib = "~> 0.28" [dev-dependencies] -gleeunit = "~> 0.10" +gleeunit = "~> 1.0" diff --git a/manifest.toml b/manifest.toml index 5f121db..274bd87 100644 --- a/manifest.toml +++ b/manifest.toml @@ -2,10 +2,10 @@ # You typically do not need to edit this file packages = [ - { name = "gleam_stdlib", version = "0.28.2", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "088E334A00C9530D4B194F31406E51B6E4E4697C6A380D11591E60CC2F239724" }, - { name = "gleeunit", version = "0.10.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "ECEA2DE4BE6528D36AFE74F42A21CDF99966EC36D7F25DEB34D47DD0F7977BAF" }, + { name = "gleam_stdlib", version = "0.34.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "1FB8454D2991E9B4C0C804544D8A9AD0F6184725E20D63C3155F0AEB4230B016" }, + { name = "gleeunit", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D364C87AFEB26BDB4FB8A5ABDE67D635DC9FA52D6AB68416044C35B096C6882D" }, ] [requirements] -gleam_stdlib = "~> 0.28" -gleeunit = "~> 0.10" +gleam_stdlib = { version = "~> 0.28" } +gleeunit = { version = "~> 1.0" } diff --git a/src/gsv/internal/ast.gleam b/src/gsv/internal/ast.gleam index f991b82..1fad4bf 100644 --- a/src/gsv/internal/ast.gleam +++ b/src/gsv/internal/ast.gleam @@ -10,7 +10,7 @@ import gleam/list import gleam/result -import gsv/internal/token.{CR, Comma, CsvToken, Doublequote, LF, Textdata} +import gsv/internal/token.{CR, Comma, type CsvToken, Doublequote, LF, Textdata} type ParseState { Beginning