From 7d7abeb1496dddfab7eb8705dbfc3d06284cf25d Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Mon, 6 Aug 2018 14:59:37 +0200 Subject: Disallow ambiguous conversions between number literals and bytesXX types. --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/types.rst') diff --git a/docs/types.rst b/docs/types.rst index bcd3ce9c..5b726cb8 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -773,7 +773,7 @@ Members // but can be treated identical to "uint8[]" m_byteData = data; m_byteData.length += 7; - m_byteData[3] = byte(8); + m_byteData[3] = 0x08; delete m_byteData[2]; } -- cgit