Blob Blame History Raw
From cec6ca7e097618d77cf48d3ff838e96305dc0d31 Mon Sep 17 00:00:00 2001
From: Dmitri Shuralyov <dmitri@shuralyov.com>
Date: Wed, 24 Jul 2019 17:05:58 -0700
Subject: [PATCH] target Go 1.13 Beta 1, update version to GopherJS 1.13-wip

Reference: https://groups.google.com/d/msg/golang-announce/fmU5r5NfHZs/xU3Ym5KJCAAJ.

Updates #929
---
 compiler/compiler.go      | 2 +-
 compiler/version_check.go | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/compiler/compiler.go b/compiler/compiler.go
index 36ec91a8..6e3d5e2f 100644
--- a/compiler/compiler.go
+++ b/compiler/compiler.go
@@ -17,7 +17,7 @@ import (
 
 var sizes32 = &types.StdSizes{WordSize: 4, MaxAlign: 8}
 var reservedKeywords = make(map[string]bool)
-var _ = ___GOPHERJS_REQUIRES_GO_VERSION_1_12___ // Compile error on other Go versions, because they're not supported.
+var _ = ___GOPHERJS_REQUIRES_GO_VERSION_1_13___ // Compile error on other Go versions, because they're not supported.
 
 func init() {
 	for _, keyword := range []string{"abstract", "arguments", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default", "delete", "do", "double", "else", "enum", "eval", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto", "if", "implements", "import", "in", "instanceof", "int", "interface", "let", "long", "native", "new", "null", "package", "private", "protected", "public", "return", "short", "static", "super", "switch", "synchronized", "this", "throw", "throws", "transient", "true", "try", "typeof", "undefined", "var", "void", "volatile", "while", "with", "yield"} {
diff --git a/compiler/version_check.go b/compiler/version_check.go
index 48bb27ae..0863d781 100644
--- a/compiler/version_check.go
+++ b/compiler/version_check.go
@@ -1,9 +1,9 @@
-// +build go1.12
-// +build !go1.13
+// +build go1.13
+// +build !go1.14
 
 package compiler
 
-const ___GOPHERJS_REQUIRES_GO_VERSION_1_12___ = true
+const ___GOPHERJS_REQUIRES_GO_VERSION_1_13___ = true
 
 // Version is the GopherJS compiler version string.
-const Version = "1.12-2"
+const Version = "1.13-wip"