summaryrefslogtreecommitdiff
path: root/source/slang/diagnostic-defs.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-02-05 16:47:37 -0800
committerGitHub <noreply@github.com>2019-02-05 16:47:37 -0800
commit13d7e34d8be4316c59bd3d00a1e5526215db6fa4 (patch)
tree1a774f323300e72ca2ae66db2d883491f0790d39 /source/slang/diagnostic-defs.h
parent43950e2b2f2b1109fe25e67fc678272af6dfb7ef (diff)
parent60cc9f24c4bec54561bea873ee943aa3d0973dc2 (diff)
Merge branch 'master' into fix-nested-type-conformances
Diffstat (limited to 'source/slang/diagnostic-defs.h')
-rw-r--r--source/slang/diagnostic-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/diagnostic-defs.h b/source/slang/diagnostic-defs.h
index 68790d4ab..9a8446a03 100644
--- a/source/slang/diagnostic-defs.h
+++ b/source/slang/diagnostic-defs.h
@@ -274,7 +274,7 @@ DIAGNOSTIC(32003, Error, unexpectedEnumTagExpr, "unexpected form for 'enum'
// 303xx: interfaces and associated types
DIAGNOSTIC(30300, Error, assocTypeInInterfaceOnly, "'associatedtype' can only be defined in an 'interface'.")
-DIAGNOSTIC(30301, Error, globalGenParamInGlobalScopeOnly, "'__generic_param' can only be defined global scope.")
+DIAGNOSTIC(30301, Error, globalGenParamInGlobalScopeOnly, "'type_param' can only be defined global scope.")
// TODO: need to assign numbers to all these extra diagnostics...
DIAGNOSTIC(39999, Fatal, cyclicReference, "cyclic reference '$0'.")
DIAGNOSTIC(39999, Fatal, localVariableUsedBeforeDeclared, "local variable '$0' is being used before its declaration.")