From 10431cfec62e20d9f64527ac0754e0a30fc6751e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 31 Mar 2023 23:18:49 +0200 Subject: net.http: Rename enum in Teal spec to avoid name clash --- teal-src/prosody/net/http.d.tl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'teal-src/prosody') diff --git a/teal-src/prosody/net/http.d.tl b/teal-src/prosody/net/http.d.tl index 08542e45..43b0bf4d 100644 --- a/teal-src/prosody/net/http.d.tl +++ b/teal-src/prosody/net/http.d.tl @@ -35,11 +35,11 @@ local record lib record http_request host : string port : string - enum scheme + enum Scheme "http" "https" end - scheme : scheme + scheme : Scheme url : string userinfo : string path : string -- cgit v1.2.3